|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
quadliu tm quad e1/t1/j1 line interface component for long- and short-haul applications pef 22504 e, pef 22504 ht, version 2.1 data sheet, rev. 1.3, jan. 2006 communications
edition 2006-01-25 published by infineon technologies ag, 81726 mnchen, germany ? infineon technologies ag 2006. all rights reserved. attention please! the information herein is given to describe certain components and shall not be considered as a guarantee of characteristics. terms of delivery and rights to technical change reserved. we hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. information for further information on technology, delivery terms and conditions and prices please contact your nearest infineon technologies office ( www.infineon.com ). warnings due to technical requirements components may contain dangerous substances. for information on the types in question please contact your nearest infineon technologies office. infineon technologies components may only be used in life-support devices or systems with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered. data sheet 3 rev. 1.3, 2006-01-25 quadliu tm pef 22504 trademarks abm ? , ace ? , aop ? , arcofi ? , asm ? , asp ? , digitape ? , duslic ? , epic ? , elic ? , falc ? , geminax ? , idec ? , inca ? , iom ? , ipat ? -2, isac ? , itac ? , iwe ? , iworx ? , musac ? , muslic ? , octat ? , optiport ? , potswire ? , quat ? , quadfalc ? , scout ? , sicat ? , sicofi ? , sidec ? , slicofi ? , smint ? , socrates ? , vinetic ? , 10basev ? , 10basevx ? are registered trademarks of infineon technologies ag. 10bases?, easyport?, vdslite? are trademarks of infineon technologies ag. microsoft ? is a registered trademark of microsoft corporation, linux ? of linus torvalds, visio ? of visio corporation, and framemaker ? of adobe systems incorporated. pef 22504 e, quad e1/t1/j1 line interface component for long- and short-haul applications revision history: 2006-01-25, rev. 1.3 previous version: preliminary data sheet 2005-11-07 chapter, table subjects (major changes since last revision) chapter 2.3 , chapter 5 the quadliu tm is now available in pg-tqfp-144-17 package also data sheet 4 rev. 1.3, 2006-01-25 quadliu tm pef 22504 preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.2 logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.3 typical applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.1 ball diagram p/pg-lbga-160-1 (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2 ball diagram p/pg-lbga-160-1 (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.3 pin diagram p-tqfp-144 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.4 pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5 pin strapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 3 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.1 hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.2 software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 3.3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 3.4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 3.5 functional blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 3.5.1 asynchronous micro controller interface (intel or motorola mode) . . . . . . . . . . . . . . . . . . . . . . . . . 67 3.5.1.1 mixed byte/word access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 3.5.2 serial micro controller interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.5.2.1 sci interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.5.2.2 spi interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 3.5.3 interrupt interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 3.5.4 boundary scan interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 3.5.5 master clocking unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 3.5.5.1 pll (reset and configuring) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 3.6 line coding and framer interface modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3.6.1 bipolar violation detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 3.7 receive path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 3.7.1 receive line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 3.7.2 receive line coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 3.7.3 receive line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 3.7.3.1 ?generic? receiver interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 3.7.3.2 receive line monitoring mode (rlm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.7.3.3 monitoring application using rlm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.7.3.4 redundancy application using rlm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 3.7.3.5 general redundancy applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 3.7.4 loss-of-signal detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 3.7.5 receive equalization network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 3.7.6 receive line attenuation indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 3.7.7 receive clock and data recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 3.7.8 receive jitter attenuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 3.7.8.1 receive jitter attenuation performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 3.7.8.2 jitter tolerance (e1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 3.7.8.3 output jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 3.7.8.4 output wander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 3.7.9 dual receive elastic buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 3.8 additional receiver functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 3.8.1 error monitoring and alarm handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 3.8.2 automatic modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 3.8.3 error counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 3.8.4 one-second timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table of contents data sheet 5 rev. 1.3, 2006-01-25 quadliu tm pef 22504 3.9 transmit path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 3.9.1 transmit line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 3.9.2 transmit clock tclk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 3.9.3 automatic transmit clock switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 3.9.4 transmit jitter attenuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 3.9.5 dual transmit elastic buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 3.9.6 programmable pulse shaper and line build-out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5 3.9.6.1 quadfalc tm v2.1 compatible programming with xpm(2:0) registers . . . . . . . . . . . . . . . . . . 106 3.9.6.2 programming with txp(16:1) registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 3.9.7 transmit line monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 3.10 framer interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 3.11 test functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 3.11.1 pseudo-random binary sequence generation and monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 3.11.2 in-band loop generation, detection and loop switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 3.11.3 remote loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 3.11.4 local loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 3.11.5 payload loop-back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 3.11.6 alarm simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 3.12 multi function ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 4.1 detailed control register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 4.1.1 control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 4.2 detailed status register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 4.2.1 status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 5 package outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 20 6 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 6.1 ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 6.1.1 master clock timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 6.1.2 jtag boundary scan interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 6.1.3 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 6.1.4 asynchronous microprocessor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 6.1.4.1 intel bus interface mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 6.1.4.2 motorola bus interface mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 6.1.4.3 sci interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 6.1.4.4 spi interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 6.1.5 digital interface (framer interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 6.1.6 pulse templates - transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 6.1.6.1 pulse template e1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 6.1.6.2 pulse template t1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 6.2 capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 6.3 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 6.4 test configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 6.4.1 ac tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 6.4.2 power supply test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 7 operational description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 7.1 operational overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 7.2 device reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 7.3 device initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 7.4 device configuration in e1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 7.5 device configuration in t1/j1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 7.6 device configuration for digital clock interface mode (dcim) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 table of contents data sheet 6 rev. 1.3, 2006-01-25 quadliu tm pef 22504 8 appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 8.1 protection circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 8.2 application notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 8.3 software support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 table of contents data sheet 7 rev. 1.3, 2006-01-25 quadliu tm pef 22504 figure 1 logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 2 typical multiple link application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 3 typical multiple repeater application between line #1 and line #2. . . . . . . . . . . . . . . . . . . . . . . . 16 figure 4 top view of the pin configuration (ball layout) p/pg-lbga-160-1 . . . . . . . . . . . . . . . . . . . . . . . 17 figure 5 bottom view of the pin configuration (ball layout) p/pg-lbga-160-1 . . . . . . . . . . . . . . . . . . . . . 18 figure 6 pin configuration p-tqfp-144-8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 7 single voltage supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 figure 8 dual voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 9 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 10 sci interface application with point to point connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0 figure 11 sci interface application with multipoint to multipoint connection . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 12 sci message structure of quadliu tm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 13 frame structure of quadliu tm sci messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 14 principle of building addresses and rsta bytes in the sci ack message of the quadliu tm . . . 72 figure 15 read status byte (rsta) byte of the sci acknowledge (ack). . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 16 spi read operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 17 spi write operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 18 interrupt status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 19 block diagram of test access port and boundary scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 20 flexible master clock unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 figure 21 behaviour of bipolar violation detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 figure 22 receive system of one channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 23 recovered and receive clock selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 24 general receiver configuration with integrated resistor and analog switches for receive impedance matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 figure 25 principle of receive line monitoring rlm (shown for one line) . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 figure 26 monitoring application using rlm (shown for one line) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 27 redundancy application using rlm (shown for one line) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 figure 28 general redundancy application (shown for one line). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 29 principle of configuring the dco-r and dco-x corner frequencies . . . . . . . . . . . . . . . . . . . . . . 94 figure 30 jitter attenuation performance (e1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 31 jitter attenuation performance (t1/j1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 32 jitter tolerance (e1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 33 jitter tolerance (t1/j1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 34 output wander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 35 the receive elastic buffer as circularly organized memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 figure 36 transmit system of one channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 37 transmit line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 38 clocking and data in remote loop configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 39 measurement configuration for e1 transmit pulse template . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 40 measurement configuration for t1/j1 transmit pulse template . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 41 transmit line monitor configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 42 framer interface (shown for one channel) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 43 remote loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 44 local loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 45 payload loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 figure 46 p/pg-lbga-160-1 (plastic green low profile ball grid array package). . . . . . . . . . . . . . . . . . . 220 figure 47 pg-tqfp-144-17 (plastic thin quad flat package) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 figure 48 mclk timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 figure 49 jtag boundary scan timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 figure 50 reset timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 figure 51 intel non-multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 figure 52 intel multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 list of figures data sheet 8 rev. 1.3, 2006-01-25 quadliu tm pef 22504 figure 53 intel read cycle timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 figure 54 intel write cycle timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 figure 55 motorola read cycle timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 figure 56 motorola write cycle timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 figure 57 sci interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 figure 58 spi interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 figure 59 fclkx output timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 figure 60 fclkr output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 figure 61 sync timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 figure 62 fsc timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 figure 63 e1 pulse shape at transmitter output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 figure 64 t1 pulse shape at the cross connect point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 figure 65 thermal behavior of package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 figure 66 input/output waveforms for ac testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 figure 67 device configuration for power supply testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 figure 68 protection circuitry examples (shown for one channel) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 9 figure 69 screen shot of the ?master clock frequency calculator? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 figure 70 screen shot of the ?external line frontend calculator? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 51 list of figures data sheet 9 rev. 1.3, 2006-01-25 quadliu tm pef 22504 table 1 i/o signals for p/pg-lbga-160-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 2 i/o signals for p-tqfp-144-8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 3 overview about the pin strapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 4 data bus access (16-bit intel mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 5 data bus access (16-bit motorola mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 6 selectable asynchronous bus and microprocessor interface configuration . . . . . . . . . . . . . . . . 68 table 7 read status byte (rsta) byte of the sci acknowledge (ack) . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 8 definition of control bits in commands (cmd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 9 sci configuration register content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 10 interrupt modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 11 tap controller instruction codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 12 conditions for a pll reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 13 line coding and framer interface modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 14 controlling of the receive interface switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 15 generic receiver configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 16 external component recommendations for monitoring applications using rlm . . . . . . . . . . . . . 87 table 17 tristate configurations for the rdo, rsig, sclkr and rfm pins . . . . . . . . . . . . . . . . . . . . . . . 88 table 18 configuration for redundancy application using rlm, switching with only one board signal . . . 89 table 19 general (proposed) configuration for redundancy applications, switching with only one board signal 90 table 20 configuration for ?non-generic? redundancy applications, switching with only one board signal 91 table 21 configuration for ?generic? redundancy applications, switching with only one board signal . . . 91 table 22 switching in ?generic? redundancy application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 23 overview dco-r (dco-x) programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 24 clocking modes of dco-r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 25 output jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 26 receive (transmit) elastic buffer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 table 27 summary of alarm detection and release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 28 recommended transmitter configuration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 table 29 recommended pulse shaper programming for t1/j1 with registers xpm(2:0) (compatible to quadfalc v2.1 ) 106 table 30 recommended pulse shaper programming for e1 with registers xpm(2:0) (compatible to quadfalc v2.1) 107 table 31 recommended pulse shaper programming for t1 with registers txp(16:1) . . . . . . . . . . . . . . 107 table 32 recommended pulse shaper programming for e1 with registers txp(16:1) . . . . . . . . . . . . . . 108 table 33 supported prbs polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 34 multi function port selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 35 registers overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 36 registers access types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 table 37 imrn overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 38 interrupt mask registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 39 ccbn overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 table 40 clear channel registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 table 41 fllb constant values (case 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 42 fllb constant values (case 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 43 llbp constant values (case 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 44 llbp constant values (case 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 45 rpc1 constant values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 table 46 xpc1 constant values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 table 47 pcn overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 table 48 port configuration registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 table 49 clock mode register settings for e1 or t1/j1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 table 50 txp overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 list of tables data sheet 10 rev. 1.3, 2006-01-25 quadliu tm pef 22504 table 51 registers overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 table 52 registers access types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 table 53 alarm simulation states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 table 54 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 table 55 operating range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 table 56 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 table 57 mclk timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 table 58 jtag boundary scan timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 table 59 reset timing parameter value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 table 60 intel bus interface timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 table 61 motorola bus interface timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1 table 62 sci timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 table 63 spi timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 table 64 fclkx timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 table 65 fclkr timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 table 66 sync timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 table 67 fsc timing parameter values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 table 68 t1 pulse template at cross connect point (t1.102 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 table 69 capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 table 70 package characteristic values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 table 71 ac test conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 table 72 power supply test conditions e1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 table 73 power supply test conditions t1/j1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 table 74 initial values after reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 table 75 configuration parameters (e1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 table 76 line interface configuration (e1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 table 77 configuration parameters (t1/j1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 table 78 line interface configuration (t1/j1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 table 79 device configuration for dcim mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 list of tables data sheet 11 rev. 1.3, 2006-01-25 quadliu tm pef 22504 preface the quadliu tm is four channel e1/t1/j1 line interface component, it is designed to fulfill all required interfacing between four analog e1/t1/j1 lines and four digital framers. the digital functions as well as the analog characteristics can be configured either via a flexible microprocessor interface, spi interface or via a sci interface. organization of this document this data sheet is organized as follows: chapter 1 , ?introduction?: gives a general description of the product and its family, lists the key features, and presents some typical applications. chapter 2 , ?pin descriptions?: lists pin locations with associated signals, categorizes signals according to function, and describe signals. chapter 3 , ?functional description?: describes the functional blocks and principle operation modes, organized into separate sections for e1 and t1/j1 operation chapter 4 , ?registers?: gives a detailed description of all implemented registers and how to use them in different applications/configurations. chapter 5 , ?package outlines?: shows the mechanical characteristics of the device packages. chapter 6 , ?electrical characteristics?: specifies maximum ratings, dc and ac characteristics. chapter 7 , ?operational description?: shows the operation modes and how they are to be initialized (separately for e1 and t1/j1). chapter 8 , ?appendix?: gives an example for over voltage protection and information about application notes and tool support. related documentation this document refers to the following international standards (in alphabetical/numerical order): ansi/eia-656 ansi t1.102 ansi t1.231 ansi t1.403 at&t pub 43802 at&t pub 54016 at&t pub 62411 esd ass. standard eos/esd-5.1-1993 etsi ets 300 011 etsi ets 300 233 etsi tbr12 etsi tbr13 fcc part68 h.100 h-mvip ieee 1149.1 tr-tsy-000009 tr-tsy-000253 tr-tsy-000499 itu-t g.703 itu-t g.736 itu-t g.737 itu-t g.738 itu-t g.739 itu.t g.733 itu-t g.775 itu-t g.823 itu-t g.824 itu-t i.431 jt-g703 jt-g704 jt-g706 jt-g33 jt-i431 mil-std. 883d ul 1459 quadliu tm pef 22504 introduction data sheet 12 rev. 1.3, 2006-01-25 1 introduction the quadliu tm is the latest addition to infineon?s family of sophisticated e1/t1/j1 line interface components. this monolithic four channel device is designed to fulfill all required interfacing between four analog e1/t1/j1 lines and four digital framer interfaces for world market telecommunication systems. the device is supplied in p/pg-lbga-160-1 package (p/pg-lbga-160-1 is rohs compliant) and in a pg-tqfp- 144-17 package, and is designed to minimize the number of external components required, so reducing system costs and board space. due to its multitude of implemented functions, it fits to a wide range of networking applications and fulfills the according international standards. crystal-less jitter attenuation with only one master clock source reduces the amount of required external components. equipped with a flexible microprocessor interface, a sci and a spi interface, it connects to various control processor environment. a standard boundary scan interface is provided to support board level testing. lbga device packaging, minimum number of external components and low power consumption lead to reduced overall system costs. the quadliu tm is not hardware and software compatibel to older versions! other members of the falc ? family are the octalliu tm supporting eight line interface components on a single chip, the octalfalc tm and the quadfalc ? e1/t1/j1 framer and line interface components for long-haul and short-haul applications, supporting 8 or 4 channels on a single chip respectively. version 2.1 type package pef 22504 ht pg-tqfp-144-17 pef 22504 e p/pg-lbga-160-1 p/pg-lbga-160-1 p-tqfp-144-6, -8, -14 data sheet 13 rev. 1.3, 2006-01-25 quad e1/t1/j1 line interface component for long- and short-haul applications quadliu tm pef 22504 e 1.1 features line interface high-density, generic interface for all e1/t1/j1 applications four analog receive and transmit circuits for long-haul and short-haul applications e1 or t1/j1 mode selectable data and clock recovery using an integrated digital phase-locked loop clock generator for jitter-free transmit clocks per channel jitter specifications of itu-t i.431, g.703, g.736 (e1), g.823 (e1) and at&t tr62411 (t1/j1) and pub 62411 are met maximum line attenuation up to -43 db at 1024 khz (e1) and up to - 36 db at 772 khz (t1/j1) flexible programmable transmit pulse shapes for e1 and t1/j1 pulse masks programmable line build-out for csu signals according to ansi t1. 403 and fcc68: 0 db, -7.5 db, -15 db, -22.5 db (t1/j1) programmable low transmitter output impedances for high transmit return loss and generic e1/t1/j1 applications tristate function of the analog transmit line outputs transmit line monitor protecting the device from damage flexible tristate functions of the digital receive outputs receive line monitor mode integrated switchtable 300 ? receive resistors for generic e1/t1/j1 applications to meet termination resistance 75/120 ? for e1, 100 ? for t1 and 110 ? for j1 integrated multi purpose analog switch at line receive interface to support generic redundancy applications (only supported in p/pg-lbga-160-1 package) crystal-less wander and jitter attenuation/compensation according to tr 62411, ets-tbr 12/13, pub 62411 common master clock reference for e1 and t1/j1 with any frequency within 1.02 and 20 mhz power-down function support of automatic protection switching dual-rail or single-rail digital inputs and outputs unipolar cmi for interfacing fiber-optical transmission routes selectable line codes (e1: hdb3, ami/t1: b8zs, ami with zcs) loss-of-signal indication with programmable thresholds according to itu-t g.775, ets300233 (e1) and ansi t1.403 (t1/j1) optional data stream muting upon los detection programmable receive slicer threshold quadliu tm pef 22504 introduction data sheet 14 rev. 1.3, 2006-01-25 local loop, digital loop and remote loop for diagnostic purposes. automatic remote loop switching is possible with in-band and out-band loop codes low power device, two power supply voltages 1.8 v and 3.3 v or a single supply of 3.3 v alarm and performance monitoring per second 16-bit counter for code violations, prbs bit errors insertion and extraction of alarm indication signals (ais) single-bit defect insertion flexible clock frequency for receiver and transmitter dual elastic stores for both, receive and transmit route clock wander and jitter compensation; controlled slip capability and slip indication programmable elastic buffer size: 2 frames/1 frame/short buffer/bypass programmable in-band loop code detection and generation (tr62411) local loop back, payload loop back land remote loop back capabilities (tr54016) flexible pseudo-random binary sequence generator and monitor microprocessor interfaces asynchronous 8/16-bit microprocessor bus interface (intel or motorola type selectable) spi bus interface sci bus interface all registers directly accessible multiplexed and non-multiplexed address bus operations on asynchronous 8/16-bit microprocessor bus interface hard/software reset options extended interrupt capabilities one-second timer (internal or external timing reference) general boundary scan standard ieee 1149.1 pg-tqfp-144-17p-bga-160-1 package temperature range from -40 to +85 c 1.8 v and 3.3 v power supply or single 3.3 v power supply typical power consumption 140 mw per channel applications wireless base stations e1/t1/j1 atm gateways, multiplexer e1/t1/j1 c hannel & d ata s ervice u nits (csu, dsu) e1/t1/j1 internet access equipment lan/wan router isdn pri, pabx d igital a ccess c rossconnect s ystems (dacs) sonet/sdh add/drop multiplexer data sheet 15 rev. 1.3, 2006-01-25 quadliu tm pef 22504 introduction 1.2 logic symbol figure 1 logic symbol quadliu v2.1 pef 22504 e p/pg-bga-160-1 pef 22504 ht pg-tqfp-144-17 qliu_logic_symbol vddr(1:4) rl1(4:1) rl2(4:1) xl1(4:1) xl2(4:1) tdi tms tck trs tdo rdo(4:1) rpa(4:1) rpb(4:1) rpc(4:1) xdi(4:1) xpa(4:1) xpb(4:1) vddx(1:4) d(15:0)/sci a(9:0) cs wr/rw rd/ds bhe/ble ale dbw im(1:0) res int mclk sync fsc microprocessor interface transmi t digital interfac e receive digital interfac e transmit line interface receive line interface boundary scan interface vddc vss ready/tdack mode (sci- or spi-bus) vddpll fclkr(4:1) fclkx(4:1) ready_en rpd(4:1) xpd(4:1) xpc(4:1) vsel vddp rlas2(4:1) quadliu tm pef 22504 introduction data sheet 16 rev. 1.3, 2006-01-25 1.3 typical applications figure 2 shows a multiple link application, figure 3 a repeater application using the quadliu tm . figure 2 typical multiple link application figure 3 typical multiple repeater application between line #1 and line #2 q li u_f0195 quadliu peb 22504 fr amer asic microprocessor system highway 4 x e1/t1/j1 receive & transmit . . . q li u_f0069 1/2 quadliu rl1.1 rl2.1 rdo1 rdon1 xl1.1 xl2.1 xdi1 xdin1 bidirectional line #1 rl1.2 rl2.2 xl1.2 xl2.2 bidirectional line #2 rdo2 rdon2 xdi2 xdin2 fclkr2 fclkx1 fclkx2 fclkr1 data sheet 17 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 2 pin descriptions in this chapter the function and placement of all pins are described. 2.1 ball diagram p/pg-lbga-160-1 (top view) figure 4 shows the ball layout of the quadliu tm in a p/pg-lbga-160-1 package. figure 4 top view of the pin configuration (ball layout) p/pg-lbga-160-1 2.2 ball diagram p/pg-lbga-160-1 (bottom view) figure 4 shows the ball layout of the quadliu tm in a p/pg-lbga-160-1 package. 2 1 3 4 5 6 7 8 9 10 11 12 13 14 a b c d e f g h j k l m n p q li u_f0213_2 xl1_2 xl2_2 vddr vssr rl1_2 rl2_2 rl2_1 rl1_1 vssr vddr xl2_1 xl1_1 vssx (rlas22) vssx xdi1 mclk xpc2 trs xpd2 vdd xpa1 vddp xpb1 d15 vssx vssx (rlas 21 ) vddx vddx fclk x 1 tck vssp vddp xpa2 xpb2 xpc1 vddc tdo d14 vddx vddx rpc1 rpa1 rpb1 rpd1 tms vsel rclk2 vss xpd1 rclk1 tdi d12 d13 d11 rdo1 fclkr 1 vdd vdd vss vdd vdd d10 rdo2 vss fclk r 2 rpa2 d9 d7 d8 d6 rpc2 rpb2 fclk x 2 rpd2 d5 ready /dtack (vdd) d4 d3 xdi3 fclkx 3 xdi2 rpa3 d2 ready_ en (vss) d0 d1 rpb3 rpd3 rpc3 fclkr 3 bhe/ ble cs wr/ rw rd/ds rdo3 im1 (vss) vdd rdo4 a9 a8 a6 a7 fclkr 4 rpb4 rpa4 dbw rclk3 xpa3 xpd3 xpb4 ale sec/ fsc a5 a3 a2 a4 vddx vddx rpc4 int res fclkx 4 vdd vdd xpd4 vddc im a1 vddx vddx vssx (rlas23) vssx rpd4 xdi4 xpc3 sync xpb3 xpa4 rclk4 vss xpc4 a0 vssx vssx (rlas 24 ) xl1_3 xl2_3 vddr vssr rl1_3 rl2_3 rl2_4 rl1_4 vssr vddr xl2_4 xl1_4 vss vss vss vss quadliu tm pef 22504 pin descriptions data sheet 18 rev. 1.3, 2006-01-25 figure 5 bottom view of the pin confi guration (ball layout) p/pg-lbga-160-1 2 1 3 4 5 6 7 8 9 10 11 12 13 14 a b c d e f g h j k l m n p qliu_f0213_3 xl1_2 xl2_2 vddr vssr rl1_2 rl2_2 rl2_1 rl1_1 vssr vddr xl2_1 xl1_1 vssx (rlas22) vssx xdi1 mclk xpc2 trs xpd2 vdd xpa1 vddp xpb1 d15 vssx vssx (rlas21) vddx vddx fclkx 1 tck vssp vddp xpa2 xpb2 xpc1 vddc tdo d14 vddx vddx rpc1 rpa1 rpb1 rpd1 tms vsel rclk2 vss xpd1 rclk1 tdi d12 d13 d11 rdo1 fclkr 1 vdd vdd vss vdd vdd d10 rdo2 vss fclkr 2 rpa2 d9 d7 d8 d6 rpc2 rpb2 fclkx 2 rpd2 d5 ready/ dtack (vdd) d4 d3 xdi3 fclkx 3 xdi2 rpa3 d2 ready_ en (vss) d0 d1 rpb3 rpd3 rpc3 fclkr 3 bhe/ ble cs wr/ rw rd/ds rdo3 im1 (vss) vdd rdo4 a9 a8 a6 a7 fclkr 4 rpb4 rpa4 dbw rclk3 xpa3 xpd3 xpb4 ale sec/ fsc a5 a3 a2 a4 vddx vddx rpc4 int res fclkx 4 vdd vdd xpd4 vddc im a1 vddx vddx vssx (rlas 23) vssx rpd4 xdi4 xpc3 sync xpb3 xpa4 rclk4 vss xpc4 a0 vssx vssx (rlas24) xl1_3 xl2_3 vddr vssr rl1_3 rl2_3 rl2_4 rl1_4 vssr vddr xl2_4 xl1_4 vss vss vss vss data sheet 19 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 2.3 pin diagram p-tqfp-144 figure 6 shows the pin diagram of the quadliu tm . figure 6 pin configuration p-tqfp-144-8 qliu_f214 vs s x xdi1 sxlkx1 rpa1 rpb1 rpc1 rpd1 sclkr1 rdo1 vdd vss rdo2 sclkr2 rpa2 rpb2 rpc2 rpd2 xdi2 sclkx2 xdi3 sclkx3 rpa3 rpb3 rpc3 rpd3 sclkr3 rdo3 vdd im1 (vss) rdo4 sclkr4 rpa4 rpb4 rpc4 rpd4 vs s x xl1_4/ xdop4/ xoi d4 vddx xl2_4/xdon4/ xfm4 sec/fsc im rl1_4/ rdi p4/ roi d4 vssr vddc ale rclk4 xpd4 xpc4 xpb4 xpa4 vss vdd xpd3 xpc3 xpb3 xpa3 sclkx4 xdi4 sync rclk3 res vssr rl2_3/ rdi n3/ rclki 3 rl1_3/ rdi p3/ roi d3 vddr int dbw xl2_3/xdon3/ xfm3 vddx xl1_3/ xdop3/ xoi d3 a7 a8 a9 wr/rw rd/ ds cs bhe/ble d0 d1 d2 ready/dtack (vdd) ready_en (vss) d3 d4 d5 d6 d7 d8 d9 d1 0 vdd vss d1 1 d1 2 d1 3 d1 4 d1 5 vssx vddr rl2_4/ rdi n4/ rclki 4 vssx a0 a1 a2 a3 a4 a5 a6 xpb1 xpc1 xpd1 vddp vss xpa2 xpb2 xpc2 xpd2 rclk2 trs vddp mclk vsel vssp vssr rl2_2/ rdi n2/rclki 2 rl1_2/ rdi p2/roi d2 vddr tck tm s xl2_2/ xdon2/ xfm2 vddx xl1_2/ xdop2/xoi d2 xl1_1/ xdop1/xoi d1 vddx xl2_1/ xdon1/ xfm1 tdi tdo vddr rl1_1/ rdi p1/roi d1 rl2_1/ rdi n1/rclki 1 vssr vddc rclk1 xpa1 108 73 104 100 96 92 88 84 80 76 144 109 140 136 132 128 124 120 116 112 37 72 40 44 48 52 56 60 64 68 14 8 12162024283236 quadliu tm pef 22504 pin descriptions data sheet 20 rev. 1.3, 2006-01-25 2.4 pin definitions and functions the following table describes all pins and their functions: table 1 i/o signals for p/pg-lbga-160-1 pin no. name pin type buffer type function operation mode selection and device initialization m5 res ipu hardware reset active low k2 im1 i pd interface mode selection 00 b : asynchronous intel bus mode. 01 b : asynchronous motorola bus mode 10 b : spi bus slave mode. 11 b : sci bus slave mode m11 im0 i pu asynchronous and serial micro controller interfaces k11 a9 i pu address bus line 9 (msb) k12 a8 i pu address bus line 8 k14 a7 i pu address bus line 7 k13 a6 i pu address bus line 6 l11 a5 i pu address bus line 5 a5 i pu sci source address bit 5 (msb) only used if sci interface mode is selected by im(1:0) = 11b. l14 a4 i pu address bus line 4 a4 i pu sci source address bit 4 only used if sci interface mode is selected by im(1:0) = 11b. l12 a3 i pu address bus line 3 a3 i pu sci source address bit 3 only used if sci interface mode is selected by im(1:0) = 11b. l13 a2 i pu address bus line 2 a2 i pu sci source address bit 2 only used if sci interface mode is selected by im(1:0) = 11b. m12 a1 i pu address bus line 1 a1 i pu sci source address bit 1 only used if sci interface mode is selected by im(1:0) = 11b. n12 a0 i pu address bus line 0 a0 i pu sci source address bit 0 (lsb) only used if sci interface mode is selected by im(1:0) = 11b. b12 d15 io pu data bus line 15 pll10 i pu pll programming bit 10 only used if sci or spi interface mode is selected by im(1:0) = 1xb. data sheet 21 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions c12 d14 io pu data bus line 14 pll9 i pu pll programming bit 9 only used if sci or spi interface mode is selected by im(1:0) = 1xb. d13 d13 io pu data bus line 13 pll8 i pu pll programming bit 8 only used if sci or spi interface mode is selected by im(1:0) = 1xb. d12 d12 io pu data bus line 12 pll7 i pu pll programming bit 7 only used if sci or spi interface mode is selected by im(1:0) = 1xb. d14 d11 io pu data bus line 11 pll6 i pu pll programming bit 6 only used if sci or spi interface mode is selected by im(1:0) = 1xb. e14 d10 io pu data bus line 10 pll5 i pu pll programming bit 5 only used if sci or spi interface mode is selected by im(1:0) = 1xb. f11 d9 io pu data bus line 9 pll4 i pu pll programming bit 4 only used if sci or spi interface mode is selected by im(1:0) = 1xb. f13 d8 io pu data bus line 8 pll3 i pu pll programming bit 3 only used if sci or spi interface mode is selected by im(1:0) = 1xb. f12 d7 io pu data bus line 7 pll2 i pu pll programming bit 2 only used if sci or spi interface mode is selected by im(1:0) = 1xb. f14 d6 io pu data bus line 6 pll1 i pu pll programming bit 1 only used if sci or spi interface mode is selected by im(1:0) = 1xb. g11 d5 io pu data bus line 5 pll0 i pu pll programming bit 0 only used if sci or spi interface mode is selected by im(1:0) = 1xb. g13 d4 io pu data bus line 4 g14 d3 io pu data bus line 3 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 22 rev. 1.3, 2006-01-25 h11 d2 io pu data bus line 2 sci_clk i ? sci bus clock only used if sci interface mode is selected by im(1:0) = 11b. sclk i ? spi bus clock only used if spi interface mode is selected by im(1:0) = 10b. h14 d1 io pu data bus line 1 sci_rxd i pu sci bus serial data in only used if sci interface mode is selected by im(1:0) = 11b. sdi i pu spi serial data in only used if spi interface mode is selected by im(1:0) = 10b. h13 d0 io pu data bus line 0 sci_txd i pp or od sci bus serial data out only used if sci interface mode is selected by im(1:0) = 11b. sdo i pu spi bus serial data out only used if spi interface mode is selected by im(1:0) = 10b. l9 ale i pu address latch enable a high on this line indicates an address on an external multiplexed address/data bus. the address information provided on lines a(10:0) is internally latched with the falling edge of ale. this function allows the quadliu tm to be connected to a multiplexed address/data bus without the need for external latches. in this case, pins a(7:0) must be connected to the data bus pins externally. in case of demultiplexed mode this pin can be connected directly to vdd or can be left open. j14 rd ipu read enable intel bus mode. this signal indicates a read operation. when the quadliu tm is selected via cs, the rd signal enables the bus drivers to output data from an internal register addressed by a(10:0) to the data bus. ds ipu data strobe motorola bus mode. this pin serves as input to control read/write operations. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 23 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions j13 wr ipu write enable intel bus mode. this signal indicates a write operation. when cs is active the quadliu tm loads an internal register with data provided on the data bus. rw ipu read/write select motorola bus mode. this signal distinguishes between read and write operation. l4 dbw i pu data bus width select bus interface mode a low signal on this input selects the 8-bit bus interface mode. a high signal on this input selects the 16-bit bus interface mode. in this case word transfer to/from the internal registers is enabled. byte transfers are implemented by using a0 and bhe /ble . j11 bhe ipu bus high enable intel bus mode. if 16-bit bus interface mode is enabled, this signal indicates a data transfer on the upper byte of the data bus d(15:8). in 8-bit bus interface mode this signal has no function and should be tied to vdd or left open. ble ipu bus low enable motorola bus mode. if 16-bit bus interface mode is enabled, this signal indicates a data transfer on the lower byte of the data bus d(7:0). in 8-bit bus interface mode this signal has no function and should be tied to vdd or left open. j12 cs ipu chip select low active chip select. m4 int o ? interrupt request interrupt request. int serves as general interrupt request for all interrupt sources. these interrupt sources can be masked via registers imr(7:0). interrupt status is reported via registers gis (global interrupt status) and isr(7:0). output characteristics (push-pull active low/high, open drain) are determined by programming register ipc. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 24 rev. 1.3, 2006-01-25 g12 ready ood (pu) data ready od output only if activated by ready_en = 1 b and if intel bus mode is selected. if not activated (ready_en = 0 b ) the pull-up resistor is active. asynchronous handshake signal to indicate successful read or write cycle. dtack ood (pu) data acknowledge od output only if activated by ready_en = 1 b and if motorola bus mode is selected. if not activated (ready_en = 0 b ) the pull-up resistor is active. asynchronous handshake signal to indicate successful read or write cycle. h12 ready_en i pd ready enable activates the od functionality of ready / dtack . 0 b : ready / dtack is not activated (only pull-up resistor is active). pin ready / dtack can be connected to vdd. 1 b : ready / dtack is an active od output separate analog switches (only supported in bga package) b14 rlas21 io (analog) ? analog switch connector port 1 can be connected to vssx if analog switch is not used (hw compatibel to quadfalc ? v2.1) b1 rlas22 io (analog) ? analog switch connector port 2 can be connected to vssx if analog switch is not used (hw compatibel to quadfalc ? v2.1) n1 rlas23 io (analog) ? analog switch connector port 3 can be connected to vssx if analog switch is not used (hw compatibel to quadfalc ? v2.1) n14 rlas24 io (analog) ? analog switch connector port 4 can be connected to vssx if analog switch is not used (hw compatibel to quadfalc ? v2.1) line interface receiver a9 rl1.1 i (analog) ? line receiver input 1, port 1 analog input from the external transformer. selected if lim1.drs is cleared. roid1 i ? receive optical interface data, port 1 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). if cmi coding is selected (mr0.rc(1:0) = 01 b and lim0.drs = 1), an internal dpll recovers clock an data; no clock signal on rclki2 is required. a8 rl2.1 i (analog) ? line receiver input 2, port 1 analog input from the external transformer. selected if lim1.drs is cleared. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 25 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions a6 rl1.2 i (analog) ? line receiver input 1, port 1 analog input from the external transformer. selected if lim1.drs is cleared. roid2 i ? receive optical interface data, port 2 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). if cmi coding is selected (mr0.rc(1:0) = 01 b and lim0.drs = 1), an internal dpll recovers clock an data; no clock signal on rclki2 is required. a7 rl2.2 i (analog) ? line receiver input 2, port 2 analog input from the external transformer. selected if lim1.drs is cleared. p6 rl1.3 i (analog) ? line receiver input 1, port 3 analog input from the external transformer. selected if lim1.drs is cleared. roid3 i ? receive optical interface data, port 3 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). if cmi coding is selected (mr0.rc(1:0) = 01 b and lim0.drs = 1), an internal dpll recovers clock an data; no clock signal on rclki2 is required. p7 rl2.3 i (analog) ? line receiver input 2, port 3 analog input from the external transformer. selected if lim1.drs is cleared. p9 rl1.4 i (analog) ? line receiver input 1, port 4 analog input from the external transformer. selected if lim1.drs is cleared. roid4 i ? receive optical interface data, port 4 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). if cmi coding is selected (mr0.rc(1:0) = 01 b and lim0.drs = 1), an internal dpll recovers clock an data; no clock signal on rclki2 is required. p8 rl2.4 i (analog) ? line receiver input 2, port 4 analog input from the external transformer. selected if lim1.drs is cleared. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 26 rev. 1.3, 2006-01-25 line interface transmitter a13 xl1.1 o (analog) ? transmit line 1, port 1 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. xoid1 o ? transmit optical interface data, port 1 data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk2 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single-rail mode is selected if lim1.drs is set and mr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. a12 xl2.1 o (analog) ? transmit line 2, port 1 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. a2 xl1.2 o (analog) ? transmit line 1, port 2 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. xoid2 o ? transmit optical interface data, port 2 data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk2 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single-rail mode is selected if lim1.drs is set and mr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. a3 xl2.2 o (analog) ? transmit line 2, port 2 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 27 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions p2 xl1.3 o (analog) ? transmit line 1, port 3 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. xoid3 o ? transmit optical interface data, port 3 data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk3 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single-rail mode is selected if lim1.drs is set and mr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. p3 xl2.3 o (analog) ? transmit line 2, port 3 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. p13 xl1.4 o (analog) ? transmit line 1, port 4 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. xoid4 o ? transmit optical interface data, port 4 data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk4 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single-rail mode is selected if lim1.drs is set and mr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. p12 xl2.4 o (analog) ? transmit line 2, port 4 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit mr0.xc1 is set and xpm2.xlt is cleared. clock signals b4 mclk i ? master clock a reference clock of better than 32 ppm accuracy in the range of 1.02 to 20 mhz must be provided on this pin. the quadliu tm internally derives all necessary clocks from this master (see registers gcm(6:1)). table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 28 rev. 1.3, 2006-01-25 n6 sync i pu clock synchronization of dco-r if a clock is detected on pin sync the dco-r circuitry of the quadliu tm synchronizes to this 1.544/2.048 mhz clock (see lim0.mas, cmr1.dcs and cmr2.dcf). additionally, in master mode the quadliu tm is able to synchronize to an 8 khz reference clock (ipc.ssyf = 1). if not connected, an internal pull-up transistor ensures high input level. l10 fsc o ? 8 khz frame synchronization the optionally synchronization pulse is active high or low for one 2.048/1.544 mhz cycle (pulse width = 488 ns for e1and 648 ns or t1/j1). d10, d7, l5, n9 rclk(1:4) o ? receive clock out, ports 1 to 4 after reset this ports are configured to be internally pulled up weakly. setting of register bit pc5.crpr will switch this ports to be active outputs. digital (framer) interface receive e1 rdo1 o ? receive data out, port 1 received data at rl1, rl2 is sent to rdop, rdon. clocking of data is done with the rising or falling edge of rclk. e2 fclkr1 i/o pu framer data clock receive, port 1 input if pc5.csrp = 0, output if pc5.csrp = 1. f1 rdo2 o ? receive data out, port 2 see description of rdop1. f3 fclkr2 i/o pu framer data clock receive, port 2 see description of fclkr1. k1 rdo3 o ? receive data out, port 3 see description of rdop1. j4 fclkr3 i/o pu framer data clock receive, port 3 see description of fclkr1. k4 rdo4 o ? receive data out, port 4 see description of rdop1. l1 fclkr4 i/o pu framer data clock receive, port 4 see description of fclkr1. digital (framer) interface transmit b3 xdi1 i ? transmit data in, port 1 nrz transmit data received from the framer. latching of data is done with rising or falling transitions of fclkx1 according to bit dic3.resx. c3 fclkx1 i/o ? framer data clock transmit, port 1 h3 xdi2 i ? transmit data in, port 2 see description of xdi1. g3 fclkx2 i/o ? framer data clock transmit, port 2 see description of fclkx1. h1 xdi3 i ? transmit data in, port 3 see description of xdi1. table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 29 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions h2 fclkx3 i/o ? framer data clock transmit, port 3 see description of fclkx1. n4 xdi4 i ? transmit data in, port 4 see description of xdi1. m6 fclkx4 i/o ? framer data clock transmit, port 4 see description of fclkx1. multi function pins d2 rpa1 i/o pu/? receive multifunction pins a to d, port 1 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resr latching/transmission of data is done with the rising or falling edge of fclkr. if not connected, an internal pull- up transistor ensures a high input level. an input function must not be selected twice or more. selectable pin functions are described below. d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 i pu receive line termination (rlt), port 1 pc(1:4).rpc(3:0) = 1000 b . these input function controls together with lim0.rtrs the analog switch of the receive line interface: a logical equivalence is build out of lim0.rtrs and rlt. d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 i pu general purpose input (gpi), port 1 pc(1:4).rpc(3:0) = 1001 b . the pin is set to input. the state of this input is reflected in the register bits mfpi.rpa, mfpi.rpb or mfpi.rpc respectively. d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 o ? general purpose output high (gpoh), port 1 pc(1:4).rpc(3:0) = 1010 b . the pin level is set fix to high level. d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 o ? general purpose output low (gpol), port 1 pc(1:4).rpc(3:0) = 1011 b . the pin level is set fix to low-level. d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 o ? loss of signal indication output (los), port 1 pc(1:3).rpc(3:0) = 1100 b . the output reflects the loss of signal status as readable in lsr0.los. d3 rpb1 d1 rpc1 d4 rpd1 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 30 rev. 1.3, 2006-01-25 d2 rpa1 o ? receive data output negative (rdon), port 1 pc(1:4).rpc(3:0) = 1110 b . receive data output negative for dual rail mode on digital (framer) interface (lim3.drr = 1). bipolar violation output for single rail mode on digital (framer) interface (lim3.drr = 0). d3 rpb1 d1 rpc1 d4 rpd1 d2 rpa1 o ? receive clock output (rclk), port 1 pc(1:4).rpc(3:0) = 1111 b . default setting after reset receive clock output rclk. after reset rclk is configured to be internally pulled up weekly. by setting of pc5.crp rclk is an active output. rclk source and frequency selection is made by cmr1.rs(1:0) if comp = 1 or by cmr4.rs(2:0) if comp = 0. d3 rpb1 d1 rpc1 d4 rpd1 f4 rpa2 i/o pu/? receive multifunction pins a to d, port 2 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resr latching/transmission of data is done with the rising or falling edge of fclkr. if not connected, an internal pull- up transistor ensures a high input level. an input function must not be selected twice or more. selectable pin functions as described for port 1. g2 rpb2 g1 rpc2 g4 rpd2 h4 rpa3 i/o pu/? receive multifunction pins a to d, port 3 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resr latching/transmission of data is done with the rising or falling edge of fclkr. if not connected, an internal pull- up transistor ensures a high input level. an input function must not be selected twice or more. selectable pin functions as described for port 1. j1 rpb3 j3 rpc3 j2 rpd3 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 31 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions l3 rpa4 i/o pu/? receive multifunction pins a to d, port 4 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resr latching/transmission of data is done with the rising or falling edge of fclkr. if not connected, an internal pull- up transistor ensures a high input level. an input function must not be selected twice or more. selectable pin functions as described for port 1. l2 rpb4 m3 rpc4 n3 rpd4 b9 xpa1 i/o pu/? transmit multifunction pins a to d, port 1 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resx latching/transmission of data is done with the rising or falling edge of fclkx. if not connected, an internal pull- up transistor ensures a high input level. each input function (tclk, xdin, xlt or xlt ) may only be selected once. selectable pin functions are described below. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 i pu transmit clock (tclk), port 1 pc(1:4).xpc(3:0) = 0011 b a 2.048/8.192 mhz (e1) or 1.544/6.176 mhz (t1/j1) clock has to be sourced by the framer if the internally generated transmit clock (generated by dco-x) shall not be used. optionally this input is used as a synchronization clock for the dco-x circuitry with a frequency of 2.048 (e1) or 1.544 mhz (t1/j1). b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 o ? transmit clock (xclk), port 1 pc(1:4).xpc(3:0) = 0111 b transmit line clock of 2.048 mhz (e1) or 1.544 mhz (t1/j1) derived from fclkx/r, rclk or generated internally by dco circuitries. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 i pu transmit line tristate (xlt), port 1 pc(1:4).xpc(3:0) = 1000 b a high level on this port sets the transmit lines xl1/2 or xdop/n into tristate mode. this pin function is logically ord with register bit xpm2.xlt. b11 xpb1 c9 xpc1 d9 xpd1 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 32 rev. 1.3, 2006-01-25 b9 xpa1 i pu general purpose input (gpi), port 1 pc(1:4).xpc(3:0) = 1001 b . the pin is set to input. the state of this input is reflected in the register bits mfpi.xpa, mfpi.xpb or mfpi.xpc respectively. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 o ? general purpose output high (gpoh), port 1 pc(1:4).xpc(3:0) = 1010 b . the pin level is set fix to high level. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 o ? general purpose output low (gpol), port 1 pc(1:4).xpc(3:0) = 1011 b . the pin level is set fix to high level. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 i pu transmit data input negative (xdin), port 1 pc(1:2).xpc(3:0) = 1101 b . transmit data input negative for dual rail mode on framer side (lim3.drx = 1). depending on bit dic3.resx latching of data is done with the rising or falling edge of fclkx. b11 xpb1 c9 xpc1 d9 xpd1 b9 xpa1 i pu transmit line tristate, low active, port 1 xlt : pc(1:4).xpc(3:0) = 1110 b . a low level on this port sets the transmit lines xl1/2 or xdop/n into tristate mode. this pin function is logically ord with register bit xpm2.xlt. b11 xpb1 c9 xpc1 d9 xpd1 c7 c8 xpa2, xpb2 i/o pu/? transmit multifunction pins a to d, port 2 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resx latching/transmission of data is done with the rising or falling edge of fclkx. if not connected, an internal pull- up transistor ensures a high input level. each input function (tclk, xdin, xlt or xlt ) may only be selected once. selectable pin functions as described for port 1. b5 xpc2 b7 xpd2 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 33 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions l6 n7 xpa3 xpb3 i/o pu/? transmit multifunction pins a to d, port 3 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resx latching/transmission of data is done with the rising or falling edge of fclkx. if not connected, an internal pull- up transistor ensures a high input level. each input function (tclk, xdin, xlt or xlt ) may only be selected once. selectable pin functions as described for port 1. n5 xpc3 l7 xpd3 n8 l8 xpa4 xpb4 i/o pu/? transmit multifunction pins a to d, port 4 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the framer interface or from the framer to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit dic3.resx latching/transmission of data is done with the rising or falling edge of fclkx. if not connected, an internal pull- up transistor ensures a high input level. each input function (tclk, xdin, xlt or xlt ) may only be selected once. selectable pin functions as described for port 1. n11 xpc4 m9 xpd4 power supply a11 v ddr1 s? positive power supply for the analog receiver 1 (3.3 v) a4 v ddr2 s? positive power supply for the analog receiver 2 (3.3 v) p4 v ddr3 s? positive power supply for the analog receiver 3 (3.3 v) p11 v ddr4 s? positive power supply for the analog receiver 4 (3.3 v) c13, c14 v ddx1 s? positive power supply for the analog transmitter 1 c1, c2 v ddx2 s? positive power supply for the analog transmitter 2 m1, m2 v ddx3 s? positive power supply for the analog transmitter 3 m13, m14 v ddx4 s? positive power supply for the analog transmitter 4 table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 34 rev. 1.3, 2006-01-25 m10, c10 v ddc s? positive power supply for the digital core (1.8 v). these pins can either be positive power supply input or output, dependent on vsel: vsel connected to v ss : 1.8 v power supply inputs, require decoupling. vsel connected to v dd : 1.8 v outputs for decoupling to v ss . these pins must not be used to supply external devices. b10 v ddpll s? positive power supply for the analog pll c6 e3, e4 v ddp s? positive power supply for the digital pads(3.3 v) for correct operation, all v ddp pins have to be connected to positive power supply. k3 m7, m8 e12, e13, b8 p5 v ss s? power ground common for all sub circuits (0 v) for correct operation, all v ss pins have to be connected to ground. p10 a10 a5 b2 n2 n13 b13 f2 n10 e11 d8 g7 g8 h7 h8 c5 b1, b14, n1, n14 v ss s? only for p/pg-lbga-160-1 package either usage as power ground or usage as connectors rlas2 of the analog switches power supply configuration d6 v sel i + pu ? voltage select enables the internal voltage regulator for 3.3 v only operation mode if connected to v dd (recommended) or left open. disables the internal voltage regulator for dual power supply mode (1.8 v and 3.3 v) if connected to v ss . table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function data sheet 35 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions note: od = open drain output pu = input or input/output comprising an internal pull-up device to override the internal pull-up by an external pull-down, a resistor value of 22 k ? is recommended. the pull-up devices are activated during reset, this means their state is undefined until the reset signal has been applied. unused pins containing pull-ups can be left open. boundary scan/joint test access group (jtag) b6 trs ipd test reset for boundary scan (active low). if not connected, an internal pull-down transistor ensures low input level. d11 tdi pu test data input for boundary scan. if not connected an internal pull-up transistor ensures high input level. d5 tms test mode select for boundary scan. if not connected an internal pull-up transistor ensures high input level. c4 tck test clock for boundary scan. if not connected an internal pull-up transistor ensures high input level. c11 tdo o ? test data output for boundary scan table 1 i/o signals (cont?d) for p/pg-lbga-160-1 pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 36 rev. 1.3, 2006-01-25 table 2 i/o signals for p-tqfp-144-8 pin no. name pin type buffer type function operation mode selection and device initialization 46 res ipu hardware reset active low. 29 im1 i pd interface mode selection 00 b asynchronous intel bus mode 01 b asynchronous motorola bus mode 10 b spi bus slave mode 11 b sci bus slave mode 68 im i pu asynchronous and serial microcontroller interfaces 83 a9 i pu address bus line 9 (msb) 82 a8 i pu address bus line 8 81 a7 i pu address bus line 7 80 a6 i pu address bus line 6 79 a5 i pu address bus line 5 a5 i pu sci source address bit 5 (msb) only used if sci interface mode is selected by im(1:0) = 11 b . 78 a4 i pu address bus line 4 a4 i pu sci source address bit 4 only used if sci interface mode is selected by im(1:0) = 11 b . 77 a3 i pu address bus line 3 a3 i pu sci source address bit 3 only used if sci interface mode is selected by im(1:0) = 11 b . 76 a2 i pu address bus line 2 a2 i pu sci source address bit 2 only used if sci interface mode is selected by im(1:0) = 11 b . 75 a1 i pu address bus line 1 a1 i pu sci source address bit 1 only used if sci interface mode is selected by im(1:0) = 11 b . 74 a0 i pu address bus line 0 a0 i pu sci source address bit 0 (lsb) only used if sci interface mode is selected by im(1:0) = 11 b . 107 d15 io pu data bus line 15 pll10 i pu pll programming bit 10 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 106 d14 io pu data bus line 14 pll9 i pu pll programming bit 9 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 105 d13 io pu data bus line 13 pll8 i pu pll programming bit 8 only used if sci or spi interface mode is selected by im(1:0) = 1x b . data sheet 37 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 104 d12 io pu data bus line 12 pll7 i pu pll programming bit 7 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 103 d11 io pu data bus line 11 pll6 i pu pll programming bit 6 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 100 d10 io pu data bus line 10 pll5 i pu pll programming bit 5 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 99 d9 io pu data bus line 9 pll4 i pu pll programming bit 4 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 98 d8 io pu data bus line 8 pll3 i pu pll programming bit 3 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 97 d7 io pu data bus line 7 pll2 i pu pll programming bit 2 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 96 d6 io pu data bus line 6 pll1 i pu pll programming bit 1 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 95 d5 io pu data bus line 5 pll0 i pu pll programming bit 0 only used if sci or spi interface mode is selected by im(1:0) = 1x b . 94 d4 io pu data bus line 4 93 d3 io pu data bus line 3 90 d2 io pu data bus line 2 sci_clk i ? sci bus clock only used if sci interface mode is selected by im(1:0) = 11 b . sclk i ? spi bus clock only used if spi interface mode is selected by im(1:0) = 10 b . 89 d1 io pu data bus line 1 sci_rxd i pu sci bus serial data in only used if sci interface mode is selected by im(1:0) = 11 b . sdi i pu spi serial data in only used if spi interface mode is selected by im(1:0) = 10 b . table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 38 rev. 1.3, 2006-01-25 88 d0 io pu data bus line 0 sci_txd i pp or od sci bus serial data out only used if sci interface mode is selected by im(1:0) = 11 b . sdo i pu spi bus serial data out only used if spi interface mode is selected by im(1:0) = 10 b . 62 ale i pu address latch enable a high on this line indicates an address on an external multiplexed address/data bus. the address information provided on a(9:0) is internally latched with the falling edge of ale. this function allows the quadliu tm to be connected to a multiplexed address/data bus without the need for external latches. in this case, pins a(7:0) must be connected to the data bus pins externally. in case of demultiplexed mode this pin can be connected directly to vdd or can be left open. 85 rd ipu read enable intel bus mode. this signal indicates a read operation. when the quadliu tm is selected via cs, the rd signal enables the bus drivers to output data from an internal register addressed by a(10:0) to the data bus. ds ipu data strobe motorola bus mode. this pin serves as input to control read/write operations. 84 wr ipu write enable intel bus mode. this signal indicates a write operation. when cs is active the quadliu tm loads an internal register with data provided on the data bus. rw ipu read/write select motorola bus mode. this signal distinguishes between read and write operation. 40 dbw i pu data bus width select bus interface mode a low signal on this input selects the 8-bit bus interface mode. a high signal on this input selects the 16-bit bus interface mode. in this case word transfer to/from the internal registers is enabled. byte transfers are implemented by using a0 and bhe /ble . table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 39 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 87 bhe ipu bus high enable intel bus mode. if 16-bit bus interface mode is enabled, this signal indicates a data transfer on the upper byte of the data bus d(15:8). in 8-bit bus interface mode this signal has no function and should be tied to vdd or left open. ble ipu bus low enable motorola bus mode. if 16-bit bus interface mode is enabled, this signal indicates a data transfer on the lower byte of the data bus d(7:0). in 8- bit bus interface mode this signal has no function and should be tied to vdd or left open. 86 cs ipu chip select low active chip select. 41 int o ? interrupt request int serves as general interrupt request for all interrupt sources. these interrupt sources can be masked via registers imr(7:0). interrupt status is reported via registers gis (global interrupt status) and isr(7:0). output characteristics (push-pull active low/high, open drain) are determined by programming register ipc. 91 ready ood (pu) data ready od output only if activated by ready_en = 1 b and if intel bus mode is selected. if not activated (ready_en = 0 b ) the pull-up resistor is active. asynchronous handshake signal to indicate successful read or write cycle. dtack ood (pu) data acknowledge od output only if activated by ready_en = 1 b and if motorola bus mode is selected. if not activated (ready_en = 0 b ) the pull-up resistor is active. asynchronous handshake signal to indicate successful read or write cycle. 92 ready_en i pd ready enable activates the od functionality of ready / dtack . 0 b : ready / dtack is not activated (only pull-up resistor is active). pin ready / dtack can be connected to vdd. 1 b : ready / dtack is an active od output table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 40 rev. 1.3, 2006-01-25 line interface receiver 115 rl1.1 i (analog) ? line receiver input 1, port 1 analog input from the external transformer. selected if lim1.drs is cleared. rdip1 i ? receive data input positive, port 1 digital input for received dual-rail pcm(+) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). roid1 i ? receive optical interface data, port 1 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). latching of data is done with the falling edge of rclki. input polarity is selected by bit rc0.rdis. the single-rail mode is selected if lim1.drs is set and fmr0.rc1 is cleared. if cmi coding is selected (fmr0.rc(1:0) = 01 b ), an internal dpll recovers clock an data; no clock signal on rclki1 is required. 116 rl2.1 i (analog) ? line receiver input 2, port 1 analog input from the external transformer. selected if lim1.drs is cleared. rdin1 i ? receive data input negative, port 1 input for received dual-rail pcm(-) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). rclki1 i ? receive clock input, port 1 receive clock input for the optical interface if lim1.drs is set and fmr0.rc(1:0) = 00 b . clock frequency: 2.048 mhz (e1) or 1.544 mhz (t1/j1). rclki1 is ignored if cmi coding is selected. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 41 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 138 rl1.2 i (analog) ? line receiver input 1, port 2 analog input from the external transformer. selected if lim1.drs is cleared. rdip2 i ? receive data input positive, port 2 digital input for received dual-rail pcm(+) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). roid2 i ? receive optical interface data, port 2 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). latching of data is done with the falling edge of rclki. input polarity is selected by bit rc0.rdis. the single-rail mode is selected if lim1.drs is set and fmr0.rc1 is cleared. if cmi coding is selected (fmr0.rc(1:0) = 01 b ), an internal dpll recovers clock an data; no clock signal on rclki2 is required. 137 rl2.2 i (analog) ? line receiver input 2, port 2 analog input from the external transformer. selected if lim1.drs is cleared. rdin2 i ? receive data input negative, port 2 input for received dual-rail pcm(-) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). rclki2 i ? receive clock input, port 2 receive clock input for the optical interface if lim1.drs is set and fmr0.rc(1:0) = 00 b . clock frequency: 2.048 mhz (e1) or 1.544 mhz (t1/j1). rclki2 is ignored if cmi coding is selected. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 42 rev. 1.3, 2006-01-25 43 rl1.3 i (analog) ? line receiver input 1, port 3 analog input from the external transformer. selected if lim1.drs is cleared. rdip3 i ? receive data input positive, port 3 digital input for received dual-rail pcm(+) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). roid3 i ? receive optical interface data, port 3 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). latching of data is done with the falling edge of rclki. input polarity is selected by bit rc0.rdis. the single-rail mode is selected if lim1.drs is set and fmr0.rc1 is cleared. if cmi coding is selected (fmr0.rc(1:0) = 01 b ), an internal dpll recovers clock an data; no clock signal on rclki3 is required. 44 rl2.3 i (analog) ? line receiver input 2, port 3 analog input from the external transformer. selected if lim1.drs is cleared. rdin3 i ? receive data input negative, port 3 input for received dual-rail pcm(-) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). rclki3 i ? receive clock input, port 3 receive clock input for the optical interface if lim1.drs is set and fmr0.rc(1:0) = 00 b . clock frequency: 2.048 mhz (e1) or 1.544 mhz (t1/j1). rclki3 is ignored if cmi coding is selected. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 43 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 66 rl1.4 i (analog) ? line receiver input 1, port 4 analog input from the external transformer. selected if lim1.drs is cleared. rdip4 i ? receive data input positive, port 4 digital input for received dual-rail pcm(+) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). roid4 i ? receive optical interface data, port 4 unipolar data received from a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1). latching of data is done with the falling edge of rclki. input polarity is selected by bit rc0.rdis. the single-rail mode is selected if lim1.drs is set and fmr0.rc1 is cleared. if cmi coding is selected (fmr0.rc(1:0) = 01 b ), an internal dpll recovers clock an data; no clock signal on rclki4 is required. 65 rl2.4 i (analog) ? line receiver input 2, port 4 analog input from the external transformer. selected if lim1.drs is cleared. rdin4 i ? receive data input negative, port 4 input for received dual-rail pcm(-) route signal which is latched with the internally recovered receive route clock. an internal dpll extracts the receive route clock from the incoming data pulses. the duty cycle of the received signal has to be close to 50%. the dual-rail mode is selected if lim1.drs and fmr0.rc1 are set. input polarity is selected by bit rc0.rdis (after reset: active low), line coding is selected by fmr0.rc(1:0). rclki4 i ? receive clock input, port 4 receive clock input for the optical interface if lim1.drs is set and fmr0.rc(1:0) = 00 b . clock frequency: 2.048 mhz (e1) or 1.544 mhz (t1/j1). rclki4 is ignored if cmi coding is selected. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 44 rev. 1.3, 2006-01-25 109 xl1.1 o (analog) ? transmit line 1, port 1 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdop1 o ? transmit data output positive, port 1 this digital output for transmitted dual-rail pcm(+) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked with positive transitions of xclk1 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high- impedance state until register lim1.drs is set and xpm2.xlt is cleared. xoid1 o ? transmit optical interface data, port 1 unipolar data sent to a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1) which is clocked on the positive transitions of xclk1. clocking of data in nrz code is done with 100% duty cycle. data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single- rail mode is selected if lim1.drs is set and fmr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 45 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 111 xl2.1 o (analog) ? transmit line 2, port 1 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdon1 o ? transmit data output negative, port 1 this digital output for transmitted dual-rail pcm(-) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked on positive transitions of xclk1 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. xfm1 o ? transmit frame marker, port 1 this digital output marks the first bit of every frame transmitted on port xdop. this function is only available in the optical interface mode (lim1.drs = 1 b and fmr0.xc1 = 0 b ). data is clocked on positive transitions of xclk1. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. in remote loop configuration the xfm1 marker is not valid. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 46 rev. 1.3, 2006-01-25 144 xl1.2 o (analog) ? transmit line 1, port 2 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdop2 o ? transmit data output positive, port 2 this digital output for transmitted dual-rail pcm(+) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked with positive transitions of xclk2 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high- impedance state until register lim1.drs is set and xpm2.xlt is cleared. xoid2 o ? transmit optical interface data, port 2 unipolar data sent to a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1) which is clocked on the positive transitions of xclk. clocking of data in nrz code is done with 100% duty cycle. data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk2 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single- rail mode is selected if lim1.drs is set and fmr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 47 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 142 xl2.2 o (analog) ? transmit line 2, port 2 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdon2 o ? transmit data output negative, port 2 this digital output for transmitted dual-rail pcm(-) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked on positive transitions of xclk2 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. xfm2 o ? transmit frame marker, port 2 this digital output marks the first bit of every frame transmitted on port xdop. this function is only available in the optical interface mode (lim1.drs = 1 b and fmr0.xc1 = 0 b ). data is clocked on positive transitions of xclk2. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. in remote loop configuration the xfm2 marker is not valid. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 48 rev. 1.3, 2006-01-25 37 xl1.3 o (analog) ? transmit line 1, port 3 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdop3 o ? transmit data output positive, port 3 this digital output for transmitted dual-rail pcm(+) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked with positive transitions of xclk3 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high- impedance state until register lim1.drs is set and xpm2.xlt is cleared. xoid3 o ? transmit optical interface data, port 3 unipolar data sent to a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1) which is clocked on the positive transitions of xclk. clocking of data in nrz code is done with 100% duty cycle. data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk3 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single- rail mode is selected if lim1.drs is set and fmr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 49 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 39 xl2.3 o (analog) ? transmit line 2, port 3 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdon3 o ? transmit data output negative, port 3 this digital output for transmitted dual-rail pcm(-) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked on positive transitions of xclk3 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. xfm3 o ? transmit frame marker, port 3 this digital output marks the first bit of every frame transmitted on port xdop. this function is only available in the optical interface mode (lim1.drs = 1 and fmr0.xc1 = 0 b ). data is clocked on positive transitions of xclk3. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. in remote loop configuration the xfm3 marker is not valid. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 50 rev. 1.3, 2006-01-25 72 xl1.4 o (analog) ? transmit line 1, port 4 analog output to the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdop4 o ? transmit data output positive, port 4 this digital output for transmitted dual-rail pcm(+) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked with positive transitions of xclk4 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high- impedance state until register lim1.drs is set and xpm2.xlt is cleared. xoid4 o ? transmit optical interface data, port 4 unipolar data sent to a fiber-optical interface with 2048 kbit/s (e1) or 1544 kbit/s (t1/j1) which is clocked on the positive transitions of xclk. clocking of data in nrz code is done with 100% duty cycle. data in cmi code is shifted out with 50% or 100% duty cycle on both transitions of xclk4 according to the cmi coding. output polarity is selected by bit lim0.xdos (after reset: data is sent active high). the single- rail mode is selected if lim1.drs is set and fmr0.xc1 is cleared. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt is cleared. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 51 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 70 xl2.4 o (analog) ? transmit line 2, port 4 analog output for the external transformer. selected if lim1.drs is cleared. after reset this pin is in high- impedance state until bit fmr0.xc1 is set and xpm2.xlt is cleared. xdon4 o ? transmit data output negative, port 4 this digital output for transmitted dual-rail pcm(-) route signals can provide half bauded signals with 50% duty cycle (lim0.xfb = 0 b ) or full bauded signals with 100% duty cycle (lim0.xfb = 1 b ) the data is clocked on positive transitions of xclk4 in both cases. output polarity is selected by bit lim0.xdos (after reset: active low). the dual-rail mode is selected if lim1.drs and fmr0.xc1 are set. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. xfm4 o ? transmit frame marker, port 4 this digital output marks the first bit of every frame transmitted on port xdop. this function is only available in the optical interface mode (lim1.drs = 1 b and fmr0.xc1 = 0 b ). data is clocked on positive transitions of xclk4. after reset this pin is in high-impedance state until register lim1.drs is set and xpm2.xlt cleared. in remote loop configuration the xfm4 marker is not valid. clock signals 133 mclk i ? master clock a reference clock of better than 32 ppm accuracy in the range of 1.02 to 20 mhz must be provided on this pin. the quadliu tm internally derives all necessary clocks from this master (see registers gcm(8:1)). 48 sync i pu clock synchronization of dco-r if a clock is detected on pin sync the dco-r circuitry of the octalfalctm synchronizes to this 1.544/2.048 mhz clock (see lim0.mas, cmr1.dcs and cmr2.dcf). additionally, in master mode the octalfalctm is able to synchronize to an 8 khz reference clock (ipc.ssyf = 1 b ). if not connected, an internal pullup transistor ensures high input level. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 52 rev. 1.3, 2006-01-25 69 sec i pu one-second timer input a pulse with logical high level for at least two 2.048 mhz cycles triggers the internal one-second timer. after reset this pin is configured to be an input. if not connected, an internal pullup transistor ensures high input level (see register gpc1). sec o ? one-second timer output activated high every second for two 2.048 mhz clock cycles. fsc o ? 8 khz frame synchronization the optionally synchronization pulse is active high or low for one 2.048/1.544 mhz cycle (pulse width = 488 ns for e1and 648 ns or t1/j1). 119, 130, 47, 61 rclk(1:4) o ? receive clock out, ports 1 to 4 after reset this ports are configured to be internally pulled up weakly. setting of register bit pc5.crp will switch this ports to be active outputs. system interface receive 9 rdo1 o ? receive data out, port 1 received data that is sent to the system highway. clocking of data is done with the rising or falling edge (sic3.resr) of sclkr1, if the receive elastic store is bypassed. the delay between the beginning of time slot 0 and the initial edge of sclkr1 (after sypr goes active) is determined by the values of registers rc1 and rc0. if received data is shifted out with higher (more than 2.048/1.544 mbit/s) data rates, the active channel phase is defined by bits sic2.sics(2:0). during inactive channel phases rdo1 is cleared (driven to low level, not tristate). 8 sclkr1 i/o pu system clock receive, port 1 working clock for the receive system interface with a frequency of 16.384/8.192/4.096/2.048 mhz in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. if the receive elastic store is bypassed, the clock supplied on this pin is ignored, because rclk is used to clock the receive system interface. if sclkr1 is configured to be an output, the internal working clock of the receive system interface sourced by dco-r or rclk is output. 12 rdo2 o ? receive data out, port 2 received data that is sent to the system highway. clocking of data is done with the rising or falling edge (sic3.resr) of sclkr2, if the receive elastic store is bypassed. the delay between the beginning of time slot 0 and the initial edge of sclkr2 (after sypr goes active) is determined by the values of registers rc1 and rc0. if received data is shifted out with higher (more than 2.048/1.544 mbit/s) data rates, the active channel phase is defined by bits sic2.sics(2:0). during inactive channel phases rdo2 is cleared (driven to low level, not tristate). table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 53 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 13 sclkr2 i/o pu system clock receive, port 2 working clock for the receive system interface with a frequency of 16.384/8.192/4.096/2.048 mhz in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. if the receive elastic store is bypassed, the clock supplied on this pin is ignored, because rclk is used to clock the receive system interface. if sclkr2 is configured to be an output, the internal working clock of the receive system interface sourced by dco-r or rclk is output. 27 rdo3 o ? receive data out, port 3 received data that is sent to the system highway. clocking of data is done with the rising or falling edge (sic3.resr) of sclkr3, if the receive elastic store is bypassed. the delay between the beginning of time slot 0 and the initial edge of sclkr3 (after sypr goes active) is determined by the values of registers rc1 and rc0. if received data is shifted out with higher (more than 2.048/1.544 mbit/s) data rates, the active channel phase is defined by bits sic2.sics(2:0). during inactive channel phases rdo3 is cleared (driven to low level, not tristate). 26 sclkr3 i/o pu system clock receive, port 3 working clock for the receive system interface with a frequency of 16.384/8.192/4.096/2.048 mhz in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. if the receive elastic store is bypassed, the clock supplied on this pin is ignored, because rclk is used to clock the receive system interface. if sclkr3 is configured to be an output, the internal working clock of the receive system interface sourced by dco-r or rclk is output. 30 rdo4 o ? receive data out, port 4 received data that is sent to the system highway. clocking of data is done with the rising or falling edge (sic3.resr) of sclkr4, if the receive elastic store is bypassed. the delay between the beginning of time slot 0 and the initial edge of sclkr4 (after sypr goes active) is determined by the values of registers rc1 and rc0. if received data is shifted out with higher (more than 2.048/1.544 mbit/s) data rates, the active channel phase is defined by bits sic2.sics(2:0). during inactive channel phases rdo4 is cleared (driven to low level, not tristate). table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 54 rev. 1.3, 2006-01-25 31 sclkr4 i/o pu system clock receive, port 4 working clock for the receive system interface with a frequency of 16.384/8.192/4.096/2.048 mhz in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. if the receive elastic store is bypassed, the clock supplied on this pin is ignored, because rclk is used to clock the receive system interface. if sclkr4 is configured to be an output, the internal working clock of the receive system interface sourced by dco-r or rclk is output. system interface transmit 2xdi1 i ? transmit data in, port 1 transmit data received from the system highway. latching of data is done with rising or falling transitions of sclkx1 according to bit sic3.resx. the delay between the beginning of time slot 0 and the initial edge of sclkx1 (after sypx goes active) is determined by the registers xc(1:0). in higher (more than 1.544/2.048 mbit/s) data rates sampling of data is defined by bits sic2.sics(2:0). 3sclkx1i pu system clock transmit, port 1 working clock for the transmit system interface with a frequency of 16.384/8.192/4.096/2.048 in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. 18 xdi2 i ? transmit data in, port 2 transmit data received from the system highway. latching of data is done with rising or falling transitions of sclkx2 according to bit sic3.resx. the delay between the beginning of time slot 0 and the initial edge of sclkx2 (after sypx goes active) is determined by the registers xc(1:0). in higher (more than 1.544/2.048 mbit/s) data rates sampling of data is defined by bits sic2.sics(2:0). 19 sclkx2 i pu system clock transmit, port 2 working clock for the transmit system interface with a frequency of 16.384/8.192/4.096/2.048 in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 55 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 20 xdi3 i ? transmit data in, port 3 transmit data received from the system highway. latching of data is done with rising or falling transitions of sclkx3 according to bit sic3.resx. the delay between the beginning of time slot 0 and the initial edge of sclkx3 (after sypx goes active) is determined by the registers xc(1:0). in higher (more than 1.544/2.048 mbit/s) data rates sampling of data is defined by bits sic2.sics(2:0). 21 sclkx3 i pu system clock transmit, port 3 working clock for the transmit system interface with a frequency of 16.384/8.192/4.096/2.048 in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. 49 xdi4 i ? transmit data in, port 4 transmit data received from the system highway. latching of data is done with rising or falling transitions of sclkx4 according to bit sic3.resx. the delay between the beginning of time slot 0 and the initial edge of sclkx4 (after sypx goes active) is determined by the registers xc(1:0). in higher (more than 1.544/2.048 mbit/s) data rates sampling of data is defined by bits sic2.sics(2:0). 50 sclkx4 i pu system clock transmit, port 4 working clock for the transmit system interface with a frequency of 16.384/8.192/4.096/2.048 in e1 mode and 16.384/8.192/4.096/2.048 mhz (sic2.ssc2 = 0 b ) or 12.352/6.176/3.088/1.544 mhz (sic2.ssc2 = 1 b ) in t1/j1 mode. multi function pins 4 rpa1 i/o pu/? receive multifunction pins a to d, port 1 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resr latching/transmission of data is done with the rising or falling edge of sclkr. if not connected, an internal pullup transistor ensures a high input level. the input function must not be selected twice or more. selectable pin functions are described below. 5rpb1 6rpc1 7rpd1 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 56 rev. 1.3, 2006-01-25 4rpa1 i pu synchronous pulse receive, port 1 sypr , pc(1:4).rpc(3:0) = 0000 b together with the values of registers rc(1:0) this signal defines the beginning of time slot 0 on system highway port rdo. only one multifunction port may be selected as sypr input. after reset, sypr of port a is used, the other lines are ignored. in system interface multiplex mode, sypr has to be provided at port rpa1 for four or all four channels dependent if 4:1 or 8:1 multiplex mode is selected. sypr defines the beginning of the time slot 0 on port rdo/rsig. the pulse cycle is an integer multiple of 125 s. 5rpb1 6rpc1 7rpd1 4rpa1 o ? receive frame marker (rfm), port 1 pc(1:4).rpc(3:0) = 0001 b cmr2.irsp = 0 b the receive frame marker can be active high for a 2.048 mhz (e1) or 1.544 mhz (t1/j1) period during any bit position of the current frame. it is clocked off with the rising or falling edge of sclkr or rclk, depending on sic3.resr. offset programming is done by using registers rc(1:0). cmr2.irsp = 1 b frame synchronization pulse generated by the dco-r circuitry internally. this pulse is active low for a 2.048 mhz (e1) or 1.544 mhz (t1/j1) period. 5rpb1 6rpc1 7rpd1 4rpa1 o ? receive multiframe begin (rmfb), port 1 pc(1:4).rpc(3:0) = 0010 b in e1 mode rmfb marks the beginning of every received multiframe (rdo). optionally the time slot 16 cas multiframe begin can be marked (sic3.casmf). active high for one 2.048 mhz period. in t1/j1 mode the function depends on bit xc0.mfbs: mfbs = 1 b rmfb marks the beginning of every received multiframe (rdo). mfbs = 0 b rmfb marks the beginning of every received superframe. additional pulses are provided every 12 frames when using esf/f24 or f72 format. 5rpb1 6rpc1 7rpd1 4rpa1 o ? receive signaling marker (rsigm), port 1 pc(1:4).rpc(3:0) = 0011 b e1: marks the time slots which are defined by register rtr(4:1) of every received frame on port rdo. t1/j1: marks the time slots which are defined by register rtr(4:1) of every received frame on port rdo, if cas-br is not used. when using the cas-br signaling scheme, the robbed bit of each channel every sixth frames is marked, if cas-br is enabled by xc0.brm = 1 b . 5rpb1 6rpc1 7rpd1 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 57 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 4rpa1 o ? receive signaling data (rsig), port 1 pc(1:4).rpc(3:0) = 0100 b the received cas signaling data is sourced by this pin. time slots on rsig correlate directly to the time slot assignment on rdo. in 4:1 system interface multiplex mode four received signaing data streams are merged into a single data stream respectively which is transmitted on rpb1 (bit- or byte- interleaved). 5rpb1 6rpc1 7rpd1 4rpa1 o ? data link bit receive (dlr), port 1 pc(1:4).rpc(3:0) = 0101 b e1: marks the sa(8:4)-bits within the data stream on rdo. the sa(8:4)-bit positions in time slot 0 of every frame not containing the frame alignment signal are selected by register xc0. t1/j1: marks the dl-bit position within the data stream on rdo. 5rpb1 6rpc1 7rpd1 4rpa1 o ? freeze signaling (freeze), port 1 pc(1:4).rpc(3:0) = 0110 b the freeze signaling status is set active high by detecting a loss of signal alarm, a loss of cas frame alignment or a receive slip (positive or negative). it will stay high for at least one complete multiframe after the alarm disappears. setting sic2.ffs enforces a high on pin freeze. 5rpb1 6rpc1 7rpd1 4rpa1 o ? frame synchronous pulse (rfsp) , port 1 rfsp , pc(1:4).rpc(3:0) = 0111 b active low framing pulse derived from the received pcm route signal (line side, rclk). during loss of synchronization (bit frs0.lfa = 1 b ), this pulse is suppressed (not influenced during alarm simulation). pulse frequency: 8 khz pulse width: 488 ns (e1) or 648 ns (t1/j1). 5rpb1 6rpc1 7rpd1 4rpa1 i pu receive line termination (rlt), port 1 pc(1:4).rpc(3:0) = 1000 b . 5rpb1 6rpc1 7rpd1 4rpa1 i pu general purpose input (gpi), port 1 pc(1:4).rpc(3:0) = 1001 b . the pin is set to input. the state of this input is reflected in the register bits mfpi.rpa, mfpi.rpb or mfpi.rpc respectively. 5rpb1 6rpc1 7rpd1 4rpa1 o ? general purpose output high (gpoh), port 1 pc(1:4).rpc(3:0) = 1010 b . the pin level is set fix to high level. 5rpb1 6rpc1 7rpd1 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 58 rev. 1.3, 2006-01-25 4rpa1 o ? general purpose output low (gpol), port 1 pc(1:4).rpc(3:0) = 1011 b . the pin level is set fix to low level. 5rpb1 6rpc1 7rpd1 4rpa1 o ? loss of signal indication output (los), port 1 pc(1:4).rpc(3:0) = 1100 b . the output reflects the loss of signal status as readable in frs0.los. 5rpb1 6rpc1 7rpd1 4rpa1 i pu receive tdm system interface tristate (rtdmt), port 1 pc(1:4).rpc(3:0) = 1101 b . controlling of tristate mode for rdo, rsig,sclkr and rfm. the rtdmt value is logically exored with the register bit sic3.rrtri. 5rpb1 6rpc1 7rpd1 4rpa1 o ? receive clock output (rclk), port 1 pc(1:4).rpc(3:0) = 1111 b . default setting after reset receive clock output rclk. after reset rclk is configured to be internally pulled up weekly. by setting of pc5.crp rclk is an active output. rclk source and frequency selection is made by cmr1.rs(1:0) if gpc6.comp_dis = 0 b or by cmr4.rs(2:0) if gpc6.comp_dis = 1 b . 5rpb1 6rpc1 7rpd1 14 rpa2 i/o pu/? receive multifunction pins a to d, port 2 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resr latching/transmission of data is done with the rising or falling edge of sclkr. if not connected, an internal pullup transistor ensures a high input level. the input function must not be selected twice or more. selectable pin functions as described for port 1. 15 rpb2 16 rpc2 17 rpd2 22 rpa3 i/o pu/? receive multifunction pins a to d, port 3 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resr latching/transmission of data is done with the rising or falling edge of sclkr. if not connected, an internal pullup transistor ensures a high input level. the input function must not be selected twice or more. selectable pin functions as described for port 1. 23 rpb3 24 rpc3 25 rpd3 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 59 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 32 rpa4 i/o pu/? receive multifunction pins a to d, port 4 depending on programming of bits pc(1:4).rpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset these ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resr latching/transmission of data is done with the rising or falling edge of sclkr. if not connected, an internal pullup transistor ensures a high input level. the input function must not be selected twice or more. selectable pin functions as described for port 1. 33 rpb4 34 rpc4 35 rpd4 120 xpa1 i/o pu/? transmit multifunction pins a to d, port 1 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resx latching/transmission of data is done with the rising or falling edge of sclkx. if not connected, an internal pullup transistor ensures a high input level. each input function (sypx , xmfs, xsig,tclk, xlt or xlt ) may only be selected once. sypx and xmfs must not be used in parallel. selectable pin functions are described below. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu synchronous pulse transmit, port 1 sypx , pc(1:4).xpc(3:0) = 0000 b together with the values of registers xc(0:1) this signal defines the beginning of time slot 0 at system highway port xdi. the pulse cycle is an integer multiple of 125 s. sypx must not be used in parallel with xmfs. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu tran4mit multiframe synchronization (xmfs), port 1 pc(1:4).xpc(3:0) = 0001 b this port defines the frame and multiframe begin on the transmit system interface ports xdi and xsig. depending on pc5.cxmfs the signal on xmfs is active high or low. xmfs must not be used in parallel with sypx . note: a new multiframe position has settled at least one multiframe after pulse xmfs has been supplied. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu transmit signaling data (xsig), port 1 pc(1:4).xpc(3:0) = 0010 b input for transmit signaling data received from the signaling highway. optionally, (sic3.ttrf = 1), sampling of xsig data is controlled by the active high xsigm marker. at higher data rates sampling of data is defined by bits sic2.sics(2:0). 121 xpb1 122 xpc1 123 xpd1 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 60 rev. 1.3, 2006-01-25 120 xpa1 i pu transmit clock (tclk) input, port 1 pc(1:4).xpc(3:0) = 0011 b a 2.048/8.192 mhz (e1) or 1.544/6.176 mhz (t1/j1) clock has to be sourced by the system if the internally generated transmit clock (generated by dco-x) shall not be used. optionally this input is used as a synchronization clock for the dco-x circuitry with a frequency of 2.048 (e1) or 1.544 mhz (t1/j1). 121 xpb1 122 xpc1 123 xpd1 120 xpa1 o ? transmit multiframe begin (xmfb), port 1 pc(1:4).xpc(3:0) = 0100 b xmfb marks the beginning of every transmitted multiframe on xdi. the signal is active high for one 2.048 (e1) or 1.544 mhz (t1/j1) period. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 o ? transmit signaling marker (xsigm), port 1 pc(1:4).xpc(3:0) = 0101 b e1 marks the transmit time slots on xdi of every frame which are defined by register ttr(1:4). t1/j1 marks the transmit time slots on xdi of every frame which are defined by register ttr(1:4) (if not cas-br is used). when using the cas-br signaling scheme the robbed bit of each channel in every sixth frame is marked. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 o ? data link bit transmit (dlx), port 1 pc(1:4).xpc(3:0) = 0110 b e1 marks the sa(8:4)-bits within the data stream on xdi. the sa(8:4)-bit positions in time slot 0 of every frame not containing the frame alignment signal are selected by register xc0.sa8e to xc0.sa4e. t1/j1 this output provides a 4 khz signal which marks the dl-bit position within the data stream on xdi (in esf mode only). 121 xpb1 122 xpc1 123 xpd1 120 xpa1 o ? tran4mit clock (xclk), port 1 pc(1:4).xpc(3:0) = 0111 b transmit line clock of 2.048 mhz (e1) or 1.544 mhz (t1/j1) derived from sclkx/r, rclk or generated internally by dco circuitries. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu transmit line tristate (xlt), port 1 pc(1:4).xpc(3:0) = 1000 b a high level on this port sets the transmit lines xl1/2 or xdop/n into tristate mode. this pin function is logically ored with register bit xpm2.xlt. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu general purpose input (gpi), port 1 pc(1:4).xpc(3:0) = 1001 b . the pin is set to input. the state of this input is reflected in the register bits mfpi.xpa, mfpi.xpb or mfpi.xpc respectively. 121 xpb1 122 xpc1 123 xpd1 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 61 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 120 xpa1 o ? general purpose output high (gpoh), port 1 pc(1:4).xpc(3:0) = 1010 b . the pin level is set fix to high level. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 o ? general purpose output low (gpol), port 1 pc(1:4).xpc(3:0) = 1011 b . the pin level is set fix to high level. 121 xpb1 122 xpc1 123 xpd1 120 xpa1 i pu transmit line tristate, low active, port 1 xlt : pc(1:2).xpc(3:0) = 1110 b . a low level on this port sets the transmit lines xl1/2 or xdop/n into tristate mode. this pin function is logically ored with register bit xpm2.xlt. 121 xpb1 122 xpc1 123 xpd1 126, 127, 128, 129 xpa2 xpb2 xpc2 xpd2 i/o pu/? transmit multifunction pins a to d, port 2 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resx latching/transmission of data is done with the rising or falling edge of sclkx. if not connected, an internal pullup transistor ensures a high input level. each input function (sypx , xmfs, xsig,tclk, xlt or xlt ) may only be selected once. sypx and xmfs must not be used in parallel. selectable pin functions as described for port 1. 51, 52, 53, 54 xpa3 xpb3 xpc3 xpd3 i/o pu/? transmit multifunction pins a to d, port 3 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resx latching/transmission of data is done with the rising or falling edge of sclkx. if not connected, an internal pullup transistor ensures a high input level. each input function (sypx , xmfs, xsig,tclk, xlt or xlt ) may only be selected once. sypx and xmfs must not be used in parallel. selectable pin functions as described for port 1. table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 62 rev. 1.3, 2006-01-25 57, 58, 59, 60 xpa4 xpb4 xpc4 xpd4 i/o pu/? transmit multifunction pins a to d, port 4 depending on programming of bits pc(1:4).xpc(3:0) these multifunction ports carry information to the system interface or from the system to the quadliu tm . after reset the ports are configured to be inputs. with the selection of the appropriate pin function, the corresponding input/output configuration is achieved automatically. depending on bit sic3.resx latching/transmission of data is done with the rising or falling edge of sclkx. if not connected, an internal pullup transistor ensures a high input level. each input function (sypx , xmfs, xsig,tclk, xlt or xlt ) may only be selected once. sypx and xmfs must not be used in parallel. selectable pin functions as described for port 1. power supply 114 v ddr1 s ? positive power supply for the analog receiver 1 (3.3 v) 139 v ddr2 s? positive power supply for the analog receiver 2 (3.3 v) 42 v ddr3 s? positive power supply for the analog receiver 3 (3.3 v) 67 v ddr4 s? positive power supply for the analog receiver 4 (3.3 v) 110 v ddx1 s? positive power supply for the analog transmitter 1 (3.3 v) 143 v ddx2 s? positive power supply for the analog transmitter 2(3.3 v) 38 v ddx3 s? positive power supply for the analog transmitter 3 (3.3 v) 71 v ddx4 s? positive power supply for the analog transmitter 4 (3.3 v) 63 v ddc s? positive power supply for the digital core (1.8 v). these pins can either be positive power supply input or output, dependent on vsel: vsel connected to v ss : 1.8 v power supply inputs, require decoupling. vsel connected to v dd : 1.8 v outputs for decoupling to v ss . these pins must not be used to supply external devices. 118 124 v s? positive power supply for the analog pll (3.3 v) 132 10 v ddp s? positive power supply for the digital pads (3.3 v) for correct operation, all v ddp pins have to be connected to positive power supply. 28 55 101 table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function data sheet 63 rev. 1.3, 2006-01-25 quadliu tm pef 22504 pin descriptions 45 v ss s? power ground common for all sub circuits (0 v) for correct operation, all v ss pins have to be connected to ground. 64 117 136 1 36 73 108 11 56 102 125 135 power supply configuration 134 v sel i + pu ? voltage select enables the internal voltage regulator for 3.3 v only operation mode if connected to v dd (recommended) or left open. disables the internal voltage regulator for dual power supply mode (1.8 v and 3.3 v) if connected to v ss . boundary scan/joint test access group (jtag) 131 trs ipd test reset for boundary scan (active low). if not connected, an internal pulldown transistor ensures low input level. 112 tdi pu test data input for boundary scan. if not connected an internal pullup transistor ensures high input level. 141 tms test mode select for boundary scan. if not connected an internal pullup transistor ensures high input level. 140 tck test clock for boundary scan. if not connected an internal pullup transistor ensures high input level. 113 tdo o ? test data output for boundary scan table 2 i/o signals for p-tqfp-144-8 (cont?d) pin no. name pin type buffer type function quadliu tm pef 22504 pin descriptions data sheet 64 rev. 1.3, 2006-01-25 2.5 pin strapping some pins are used for selection of functional modes of the quadliu tm : table 3 overview about the pin strapping pin pin strapping is used pin strapping function im(1:0) always defines the used micro controller interface a(5:0) only in sci interface mode defines the six lbss of the sci source address, see chapter 3.5.2.1 d(15:5) only in sci or spi interface mode programs the parameters n and m of the pll in the master clocking unit instead of registers gcm5 and gcm6, see chapter 3.5.5 : - d(15:11) values programs pll dividing factor m - d(10:5) values programs pll dividing factor n programming by pin strapping is equivalent to programming by register bits gcm5.pll_m(4:0) and gcm6.pll_n(5:0) which is used in asynchronous micro controller modes. data sheet 65 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3 functional description 3.1 hardware the quadliu tm requires either two supply voltages, 1.8 v and 3.3 v, see figure 8 , or a single 3.3 v supply, with the 1.8 v supply being generated internally by an on-chip regulator, see figure 7 . in order to minimize power dissipation, it is recommended to operate the device using separate external 3.3 v and 1.8 v supplies. please note that the 1.8 v supply requires de-coupling whether generated on-chip or externally. supply voltage selection is done by the pin vsel. the pin im1 is used to select the additional serial interfaces spi and sci bus, see also chapter 2.5 . the pin ready_en can be used to activate the output functionality of the additional pin ready / dtack . for the asynchronous micro controller interface. because the ready_en pin is used for v ss in version 2.1, the pin ready / dtack is not active (is in tri-state mode) if no change is made on the board. therefore for the ready / dtack pin also no change must be made on the board. see also chapter 3.5.1 . some pins of the micro controller interface have different functions if the spi or sci bus is selected as interface to the micro controller. the pins rlas2(1:4) of the additional separate analog switches at the receive line interfaces (supported only in p/pg-lbga-160-1 package) can be connected to vssx if the analog switches are not used. to accommodate the package several signals can be configured at the multifunction ports. four multifunction ports exist for the receive direction and four for the transmit direction for each of the four channels. figure 7 single voltage supply v ddp v ddx v ddr v ssp v ssx v ssr v ddc vsel v dd , v ddp , v ddx , v ddr > v ddc must always be guaranteed, also during power on and power down sequences. v ddc quadliu ( can be l eft open) 3.3 v v dd 3.3 v v ss qli u_f0248 quadliu tm pef 22504 functional description data sheet 66 rev. 1.3, 2006-01-25 figure 8 dual voltage supply 3.2 software the quadliu tm device contains analog and digital function blocks that are configured and controlled by an external microprocessor or micro controller, using either the asynchronous interface, spi bus or sci bus. the register address range is 10 bit wide. 3.3 functional overview the main interfaces are receive and transmit line interface asynchronous microprocessor interface with two modes: intel or motorola spi bus interface sci bus interface framer interface boundary scan interface as well as several control lines for reset, mode and clocking purpose. the main internal functional blocks are analog line receiver with equalizer network and clock/data recovery analog line driver with programmable pulse shaper and line build out master clock generation unit dual elastic buffers for receive and transmit direction, controlled by the appropriate jitter attenuators receive line decoding, alarm detection and prbs monitoring transmit line encoding, alarm and prbs generation receive jitter attenuator transmit jitter attenuator available test loops: local loop, remote loop and payload loop boundary scan control v ddx v ddr v ddp v ddc 3.3 v 1.8 v v ssp v ssx v ssr vsel v dd , v ddp , v ddx , v ddr > v ddc must always be guaranteed, also during power on and power down sequences. v ddc quadliu v dd v ss qli u_f0249 data sheet 67 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.4 block diagram figure 9 shows the block diagram of the quadliu tm . figure 9 block diagram 3.5 functional blocks the four possible micro controller interface modes - two asynchronous modes (intel, motorola) and two serial interface modes (spi bus or sci bus) - are selected by using the interface mode selection pins im(1:0). this selection is valid immediately after reset becomes inactive. after changing of the interface mode by im(1:0), a hardware reset must be applied. 3.5.1 asynchronous micro controller in terface (intel or motorola mode) the asychronous micro controller interface is selected if im(1:0) is strapped to 00b (intel mode) or 01b (motorola mode). an handshake signal (data acknowledge dtack for motorola- and ready for intel-mode) is provided indicating successful read or write cycle. by using dtack or ready respectively no counter is necessary in the micro controller to finish the access, see also timing diagrams figure 51 ff. if activated, ready / dtack is an open drain (od) output and will be only driven to low if cs is low. therefore the ready / dtack signals of two or more quadliu tm v3.1 can be connect together, using a common external pull- up resistor (wired or). the generation of ready /dtack is asynchronous: in intel mode read access ready will be set to low by the quadliu tm after the data output is stable at the quadliu tm . after the rising edge of rd (which is driven by the micro controller), ready is low for a ?hold time?, before it will be set to high by the quadliu tm . long+shor t haul recei ve li ne inter face long+shor t haul tr ansmi t li ne inter face clock & data recovery local l oop remote loop + jatt li ne decoder prbs moni tor dual recei ve el asti c buffer dual tr ansmi t el asti c buffer transmit jitter attunator receive ji tter attunator mux mux receive fr amer interface tr ansmi t fr amer interface fclkx( 1:4) tclk rclk xdi( 1:4) xpa( 1:4) xpb( 1:4) rpa( 1:4) rpb( 1:4) rpc(1:4) rdo(1:4) fclkr( 1:4) xl1/xoid( 1:4) xl2( 1:4) rl1/roid(1:4) rl2( 1:4) 1 ? 4 boundar y scan jtag asynchr onous mi cr o contr ol l er inter face spi inter face sci interface master clocking unit mclk sync fsc tdi,tms,tck,trs,tdo d( 15:0) a( 9:0) cs wr /r w rd/ds bhe/ble ale dbw res int ready/tdack im(1:0) li ne encoder prbs gener . ibl monitor ibl gener ator qli u_blockdiagram p ayl oad loo p ready_en rpd(1:4) xpc( 1:4) xpd( 1:4) vol tage regul ator vsel anal og swi tch rlas2( 1:4) quadliu tm pef 22504 functional description data sheet 68 rev. 1.3, 2006-01-25 in the intel mode write access ready will be set to low by the quadliu tm after the falling edge of wr (which is driven by the micro controller). after wr is high and data are written successfully into the registers of the quadliu tm , ready will be set to high by the quadliu tm . the general timing diagrams are shown in figure 51 to figure 56 . the communication between the external micro controller and the quadliu tm is done using a set of directly accessible registers. the interface can be configured as intel or motorola type with a selectable data bus width of 8 or 16 bits. the external micro controller transfers data to and from the quadliu tm , sets the operating modes, controls function sequences, and gets status information by writing or reading control and status registers. all accesses can be done as byte or word accesses if enabled. if 16-bit bus width is selected, access to lower/upper part of the data bus is determined by address line a0 and signal bhe / ble as shown in table 4 and table 5 . table 6 shows how the ale ( a ddress l atch e nable) line is used to control the bus structure and interface type. the switching of ale allows the quadliu tm to be directly connected to a multiplexed address/data bus. 3.5.1.1 mixed byte/word access reading from or writing to the internal registers can be done using a 8-bit (byte) or 16-bit (word) access depending on the selected bus interface mode. randomly mixed byte/word access is allowed without any restrictions. the assignment of registers with even/odd addresses to the data lines in case of 16-bit register access depends on the selected asynchronous microprocessor interface mode: table 4 data bus access (16-bit intel mode) bhe a0 register access quadliu tm data pins used 0 0 register word access (even addresses) d(15:0) 0 1 register byte access (odd addresses) d(15:8) 1 0 register byte access (even addresses) d(7:0) 1 1 no transfer performed none table 5 data bus access (16-bit motorola mode) ble a0 register access quadliu tm data pins used 0 0 register word access (even addresses) d(15:0) 0 1 register byte access (odd addresses) d(7:0) 1 0 register byte access (even addresses) d(15:8) 1 1 no transfer performed none table 6 selectable asynchronous bus and microprocessor interface configuration ale im(1:0) asynchronous microprocessor interface mode bus structure constant level 01 motorola de-multiplexed 00 intel de-multiplexed switching 00 intel multiplexed data sheet 69 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description n: even address 3.5.2 serial micro controller interfaces two serial interfaces are included to enable device programming and controlling:- slave serial control interface (sci) - slave serial peripheral interface (spi) by using the sci interface, the quadliu tm can be easily connected to infineon interworking devices plus infineon shdsl- and adsl-phys so that implementation of different line transmission technologies on the same line card easily is possible. the sci interface is a three-wire bus and optionally replaces the parallel processor interface to reduce wiring overhead on the pcb, especially if multiple devices are used on a single board. data on the bus is hdlc encapsulated and uses a message-based communication protocol. if sci interface with multipoint to multipoint configuration is used, address pins a(5:0) are used for sci source (slave) address pin strapping, see table 3 . note that after a reset writing into or reading from quadliu tm registers using the sci- or spi-interface is not possible until the pll is locked: if the sci-interface is used no acknowledge message will be sent by the quadliu tm . if the spi-interface is used pin sdo has high impedance (sdo is pulled up by external resistor). to trace if the spi interface is accessible, the micro controller should poll for example the register dstr so long as it read no longer the value f h . 3.5.2.1 sci interface the serial control interface (sci) is selected if im(1:0) is strapped to 11 h . the quadliu tm sci interface is always a slave. figure 57 shows the timing diagram of the sci interface, table 62 gives the appropriate values of the timing parameters. figure 10 shows a first application using the sci interfaces of some quadliu tm s where point to point full duplex connections are realized between every quadliu tm and the micro controller. here the data out pins of the sci interfaces (sci_txd) of the quadliu tm s must be configured as push-pull (pp), see configuration register bit pp in table 9 . figure 11 shows an application with multipoint to multipoint connections between the quadliu tm s and the micro controller (half duplex). here the data out pin of the sci interfaces (sci_txd) of all quadliu tm s must be configured as an open drain (od), see configuration register bit pp in table 9 . the data out and data in pins (sci_rxd, sci_txd) of each quadliu tm are connected together to form a common data line. together with a common pull up resistor for the data line, all open drain data out pins are building a wired and. the infineon proprietary daisy-chain approach is not supported the group address of the sci interface is 00 h after reset. recommendation for configuring is c4 h to be different to the group addresses of all other infineon devices. in case of multipoint to multipoint applications the 6 msbs of the sci source address will be defined by pinstrapping of the address pins a5 to a0. the two lsbs of the sci source address are constant 10b, see table 9 . the sci source address can be overwritten by a write command into the sci configuration register. for applications with point to point connections for the sci interface the source address is not valid. because 14 bits are used for the register addresses in the sci interface macro the two msbs of the 16 bit wide register addresses are set fixed to zero. intel (address n + 1) (address n) motorola (address n) (address n + 1) data lines d15 d8 d7 d0 quadliu tm pef 22504 functional description data sheet 70 rev. 1.3, 2006-01-25 figure 10 sci interface application with point to point connections figure 11 sci interface application with multipoint to multipoint connection the following configurations of the sci interface of the quadliu tm can be set by the micro controller by a write command into the sci configuration register (control bits 10b, see table 9 , sci register address is 0000h, see table 4 and figure 13 ): half duplex/full duplex (reset value: half duplex), bit dup. opendrain/push-pull (configuration of output pin to opendrain/push-pull is in general independent of the duplex mode and must be set appropriately in application) (reset value: open drain), bit pp. crc for transmit and receive on/off (reset value: off), bit crc_en. automatic acknowledgement of cmd messages on/off (reset value: off), bit ack_en. clock edge rising/falling (reset value: falling), bit clk_pol. clock gating (reset value: off), bit clk_gat. the following sci configurations are fixed and cannot be set by the micro controller: interrupt feature is disabled, bit int_en = 0. arbitration always made with lapd (only sci applications like in figure 10 and figure 11 are possible), bit arb = 0. the maximum possible sci clock frequency is 6 mhz for point to point applications (full duplex) and about 2 mhz for multipoint to multipoint applications, dependent on the electrical capacity of the bus lines of the pcb. figure 12 shows the message structure of the quadliu tm . the sci interface uses hdlc frames for communication. the hdlc flags mark beginning and end of all messages. microprocessor or interworking device im(1:0) im(1:0) im(1:0) txdata rxdat a clk txdata rxdat a clk txdata rxdat a clk sci _txd sci _rxd pp quadliu qliu-interfaces_2 quadliu quadliu mi cr o- pr ocessor or interworking device im(1:0) im(1:0) im(1:0) clk clk clk qli u_sci _half duplex a(5: 0) a(5: 0) a(5: 0) sci _rxd od quadliu sci _txd dat a dat a dat a quadliu quadliu data sheet 71 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 12 sci message structure of quadliu tm every write into or read from a register of the quadliu tm is initiated by a command message cmd from the host (micro con roller) and is then confirmed by an acknowledge message ack from the quadliu tm if in the sci configuration automatic acknowledgement is set (bit ack_en, see table 9 ). read commands are always confirmed, independent on the bit ack_en. the frame structure of this messages are shown in figure 13 . in general the lsb of every byte is transmitted first and lower bytes are transmitted before higher bytes (regarding the register address) source and destination addresses are 8 bits long. only the first 6 bits are really used for addressing. the bit c/r (command/response) distinguishes between a command and a response. the bit ms (master/slave) is 0b for all slaves and 1b for all masters, see table 9 and figure 13 the source address is defined by pinstrapping of a5 to a0 after reset, but other values can be configured by programming of the sci configuration register. the payload of the write cmd includes two control bits (msbs of the payload), which distinguish between the different kind of commands, see table 8 , the 14 bit wide register address and the 8 bit wide data whereas the read cmd payload includes only the control bits and the register address. register addresses can be either quadliu tm register addresses or sci configuration register addresses. because of the address space of the quadliu tm , really 10 lsbs of the 14 bit address are used in the quadliu tm . the 4 msbs are ignored the payload of the read ack includes the content of the register (one byte) in addition to the payload of the write ack. the frame check sequence fcs has 16 bits and is build (or checked) over the address and payload according to iso 3309-1984. the read status byte rsta of the acknowledge message shows the status of the received message and is built by the sci interface of the quadliu tm , see figure 15 and table 7 . the destination address in the ack message is always the source address of the corresponding cmd (the address of the micro controller), see figure 14 , because no cmd messages will be sent by the quadliu tm sci interface host quadliu cmd ack qliu_sci_message_structure quadliu tm pef 22504 functional description data sheet 72 rev. 1.3, 2006-01-25 figure 13 frame structure of quadliu tm sci messages figure 14 principle of building addresses and rsta bytes in the sci ack message of the quadliu tm flag address qliu_sci_frame_structure flag fcs sci hdlc basic frame structure 01111110 source address 14 bit register address 01111110 fcs write cmd frame structure destination address 8 bit data 00: write octalfalc register 10: write sci configuration register 01111110 source address rsta 01111110 destination address write ack frame structure payload 01111110 source address 01111110 fcs read cmd frame structure destination address 01: read octalfalc register 11: read sci configuration register 6 bit address c/r ms lsb 14 bit register address control bits t read depth fcs 01111110 source address rsta 01111110 register content destination address fcs one byte read ack frame structure qliu_sci_acknowledg e source address rsta destination address ack source address cmd destination address quadliu sci interface rsta register source address data sheet 73 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 15 read status byte (rsta) byte of the sci acknowledge (ack) 3.5.2.2 spi interface the serial peripheral interface (spi) is selected if im(1:0) is strapped to 10 h . the spi interface of the quadliu tm is always a slave. table 7 read status byte (rsta) byte of the sci acknowledge (ack) field bit description vfr 7 valid frame. indicates whether a valid frame has received. 0: received frame is invalid. 1: received frame is valid. rdo 6 reserved crc 5 crc compare check. indicates whether a crc check is failed or not. 0: crc error check failed on the received frame. 1: received frame is free of crc errors. rab 4 received message aborted. cmd message abortion is declared. the receive message was aborted by the host. a sequence of 7 consecutive 1 was detected before closing the flag. note that ack message and therefore rab will not be send before destination address was received. 0: data reception is in progress. 0: data reception has been aborted. sa1 3 reserved sa0 2 reserved c/r 1 reserved ta 0 reserved table 8 definition of control bits in commands (cmd) control bits (msb lsb) command type 01 read quadliu tm registers 00 write quadliu tm register1 10 write sci configuration register 11 read sci configuration register table 9 sci configuration register content address bit 7 (msb) bit6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000 h pp clk_pol clk_gat ack_en int_en crc_en arb dup 0001 h 1 destination address 1 (=c/r) 0 (=ms) 0002 h 0 group address 1 (=c/r) 0 (=ms) vfr rdo qliu_sci_rsta ta c/r sa0 sa1 rab crc 7 (msb) 0 (lsb) quadliu tm pef 22504 functional description data sheet 74 rev. 1.3, 2006-01-25 figure 16 and figure 17 show the read and the write operation respectively. the start of a read or write operation is marked by the falling edge of the chip select signal cs whereas the end of the operations is marked by the rising edge of cs. because of cs the spi interface has no slave address. the first bit of the serial data in (sdi) is 1 for a read operation and 0 for a write operation. the first four bits of the 15 bit address are not valid for the quadliu tm . in read operation the quadliu tm delivers the 8 bit wide content of the addressed register at the serial data out (sdo). in general spi data are driven with the negative edge of the serial clock (sclk) and sampled with the positive edge of sclk. figure 58 shows the timing of the spi interface and table 63 the appropriate timing parameter values. figure 16 spi read operation figure 17 spi write operation 3.5.3 interrupt interface special events in the quadliu tm are indicated by means of an interrupt output int, which requests the external micro controller to read status information from the quadliu tm , or to transfer data from/to the quadliu tm . the electrical characteristics (open drain or push-pull) is programmed defined by the register bits ipc.ic(1:0), see ipc . the quadliu tm has a single interrupt output pin int with programmable characteristics (open drain or push-pull, defined by registers ipc) too. since only one int request output is provided, the cause of an interrupt must be determined by the external micro controller by reading the quadliu tm ?s interrupt status registers (gis, isr(1:4), isr6 and isr7). the interrupt on pin int and the interrupt status bits are reset by reading the interrupt status registers. the interrupt status registers isr are of type ?cl ear on read? (?rsc?). the structure of the interrupt status registers is shown in figure 18 . q li u_spi _read cs sclk xx x x a9 a0 d7 d0 10 bit addr ess 8 bi t data sdi don t car e hi gh i mpedance sdo x q li u_spi _wr it e cs sclk xx x x a9 a0 d7 d0 10 bit addr ess 8 bi t data sdi hi gh i mpedance sdo x data sheet 75 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 18 interrupt status registers each interrupt indication bit of the registers isr can be selectively masked by setting the corresponding bit in the corresponding mask registers imr. if the interrupt status bits are masked they neither generate an interrupt at int nor are they visible in isr. all reserved bits in the mask registers imr must not be written with the value 0. gis, the non-maskable ?global? interrupt status register per channel, serves as pointer to pending interrupts sourced by registers isr(1:4), isr6 and isr7. the non-maskable channel interrupt status register cis serves as channel pointer to pending interrupts sourced by registers gis. after the quadliu tm has requested an interrupt by activating its int pin, the external micro controller should first read the register cis to identify the requesting interrupt source channel. then it should read the global interrupt status register gis to identify the requesting interrupt source register isr of that channel. after reading the assigned interrupt status registers isr(1:4), isr6 and isr7, the pointer bit in register gis is cleared or updated if another interrupt requires service. after all bits isr(7:0) of a register gis are cleared, the assigned bit in register cis is cleared. after all bits in register cis are cleared the int pin will be deactivated. if all pending interrupts are acknowledged by reading (gis is reset), pin int goes inactive. updating of interrupt status registers isr(1:4), isr6 and isr7 and gis is only prohibited during read access. ?global? interrupt status register gis (per channel) imr1 isr1 imr3 isr3 imr4 isr4 qli u_i sr_2 imr6 isr6 imr7 isr7 gis4 gis1 gis2 gis3 status regi ster s and maski ng ( shown for one channel ) channel interrupt status register cis , global channel channel ... different status bits ... ... ... ... ... int channel . . . 1 to 4 .. . 1 to 4 pll plllc plll gis2 gimr pllls not visible vis gcr vispll ipc isr1 isr3 isr4 isr6 isr7 isr1 isr3 isr4 isr6 isr7 imr2 isr2 ... isr2 r2 quadliu tm pef 22504 functional description data sheet 76 rev. 1.3, 2006-01-25 masked interrupts visible in status registers the ?global? interrupt status register (gis) indicates those interrupt status registers with active interrupt indications (bits gis.isr(7:0)). an additional interrupt mode can be selected per port via bit gcr.vis ( gcr ). in this mode, masked interrupt status bits neither generate an interrupt on pin int nor are they visible in gis, but are displayed in the corresponding interrupt status registers isr(1:4), isr6 and isr7. pll interrupt status register the bit n (n = 1 to 4) of the register cis pointers an interrupt on channel n. the global interrupt status register gis2 indicates the lock status of the (global) pll. masking can be done by the register gimr. an additional interrupt mode can be selected per port via bit ipc.vispll ( ipc ) where the masked interrupt status bit gis2.pllls does not generate an interrupt on pin int, but is displayed in the corresponding interrupt status register bit gis2.plllc . the additional interrupt mode is useful when some interrupt status bits are to be polled in the individual interrupt status registers. note: 1. in the visible mode, all active interrupt status bits, whether the corresponding actual interrupt is masked or not, are reset when the interrupt status register is read. thus, when polling of some interrupt status bits is desired, care must be taken that unmasked interrupts are not lost in the process. 2. all unmasked interrupt statuses are treated as before. please note that whenever polling is used, all interrupt status registers concerned have to be polled individually (no ?hierarchical? polling possible), since gis only contains information on actually generated, i.e. unmasked interrupts. 3.5.4 boundary scan interface in the quadliu tm a t est a ccess p ort (tap) controller is implemented. the essential part of the tap is a finite state machine (16 states) controlling the different operational modes of the boundary scan. both, tap controller and boundary scan, meet the requirements given by the jtag standard ieee 1149.1-2001. figure 19 gives an overview, figure 49 shows the timing diagram and table 58 gives the appropriate values of the timing parameters. table 10 interrupt modes gcr.vis; ipc.vispll appropriate mask bit interrupt active visibility in isr(1:4), isr(6:7) and gis2 00yesyes 0 1 no no 10yesyes 11noyes data sheet 77 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 19 block diagram of test access port and boundary scan after switching on the device (power-on), a reset signal has to be applied to trs , which forces the tap controller into test logic reset state. the boundary length is t.b.d.. if no boundary scan operation is used, trs , tms, tck and tdi do not need to be connected since pull-up or pulldown transistors ensure default input levels in this case. test handling (boundary scan operation) is performed using the pins tck (test clock), tms (test mode select), tdi (test data input) and tdo (test data output) when the tap controller is not in its reset state, that means trs is connected to v dd or it remains unconnected due to its internal pull up. test data at tdi is loaded with a clock signal connected to tck. "1" or "0" on tms causes a transition from one controller state to another; constant "1" on tms leads to normal operation of the chip. an input pin (i) uses one boundary scan cell (data in), an output pin (o) uses two cells (data out and enable) and an i/o-pin (i/o) uses three cells (data in, data out and enable). note that most functional output and input pins of the quadliu tm are tested as i/o pins in boundary scan, hence using three cells. the desired test mode is selected by serially loading a 8-bit instruction code into the instruction register through tdi (lsb first), see table 11 . the test modes are: extest extest is used to examine the interconnection of the devices on the board. in this test mode at first all input pins capture the current level on the corresponding external interconnection line, whereas all output pins are held at constant values ("0" or "1"). then the contents of the boundary scan is shifted to tdo. at the same time the next scan vector is loaded from tdi. subsequently all output pins are updated according to the new boundary scan contents and all input pins again capture the current external level afterwards, and so on. sample is a test mode which provides a snapshot of pin levels during normal operation. f0115 trs tck tms tdi tdo clock test control data in enable data out clock generation reset tap controller finite state machine instruction register test signal generator tap controller reset identification register (32 bits) control bus boundary scan (n bits) 1 2 n bd data in bd data out id data out quadliu tm pef 22504 functional description data sheet 78 rev. 1.3, 2006-01-25 idcode a 32-bit identification register is serially read out on pin tdo. it contains the version number (4 bits), the device code (16 bits) and the manufacturer code (11 bits). the lsb is fixed to "1". the id code field is set to (msb to lsb): t.b.d. version number (first 4 bits) = 0001 b part number (next 16 bits) = 0000 0001 0000 0100 b manufacturer id (next 11 bits) = 0000 1000 001 b lsb fixed to 1. bypass a bit entering tdi is shifted to tdo after one tck clock cycle. an alphabetical overview of all tap controller operation codes is given in table 11 . 3.5.5 master clocking unit the quadliu tm provides a flexible clocking unit, which references to any clock in the range of 1.02 to 20 mhz supplied on pin mclk, see figure 20 . the clocking unit has two different modes: in the so called ?flexible master clocking mode? (gcm2.vfreq_en = 1, gcm2 ) the clocking unit has to be tuned to the selected reference frequency by setting the global clock mode registers gcm(8:1) accordingly, see formulas in gcm6 . all four ports can work in e1 or t1 mode individually. after reset the clocking unit is in ?flexible master clocking mode?. in the so called ?clocking fixed mode? (gcm2.vfreq_en = 0) the tuning of the clocking unit is done internally so that no setting of the global clock mode registers gcm(8:1) is necessary. all four ports must work together either in e1 or in t1 mode. for the calculation for the appropriate register settings see gcm6 . calculation can be done easy by using the flexible master clock calculator which is part of the software support of the quadliu tm , see chapter 8.3 . all required clocks for e1 or t1/j1 operation are generated by this circuit internally. the global setting depends only on the selected master clock frequency and is the same for e1 and t1/j1 because both clock rates are provided simultaneously. to meet the e1 requirements the mclk reference clock must have an accuracy of better than 32 ppm. the synthesized clock can be controlled on pins rclk and fclkr. table 11 tap controller instruction codes tap instruction instruction code bypass 11111111 extest 00000000 idcode 00000100 sample 00000001 reserved for device test 01010011 data sheet 79 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 20 flexible master clock unit 3.5.5.1 pll (reset and configuring) if the (asynchronous) micro controller interface mode is selected by im(1:0) the pll must be configured by programming of the registers gcm5 and gcm6 in ?flexible master clocking mode?. every change of the contents of these registers - the divider factors n and m of the pll - causes a reset of the pll. switching between e1 and t1 modes in arbitrary channels causes a reset of the clock unit but not of the pll itself. or by enabling of the ?fixed mode?: gcm2.vfreq_en = 0 ( gcm2 ). programming of registers gcm5 and gcm6 is not necessary. any programming of gcm5 and gcm6 does not cause a reset of the pll. switching between e1 and t1 modes (for all channels) causes a reset of the clock unit but not of the pll itself. the spi and sci are synchronous interfaces and therefore need defined clocks immediately after reset, before any configuration is done. so to enable access to serial interfaces, the clock mclk must be active and must have a defined frequency before reset becomes inactive. dependent on the mclk frequency the internal pll must be configured if the sci- or spi-interface mode is selected by im(1:0) by strapping of the pins d(15:5) if ?fixed mode? is not enabled (gcm2.vfreq_en = 1), see also table 3 . because ?fixed mode? is not enabled after reset, pinstrapping at d(15:5) is always necessary! every new value at this pins causes a reset of the pll. configuring by the registers gcm5 and gcm6 is not taken into account and causes not a reset of the pll or by enabling of the ? fixed mode?.this is only allowed if the values of n and m defined by pinstrapping are identical to that values which are internally used for the ?fixed mode?. that avoids changing of n and m by switching into the ?fixed mode? and therefore a new reset of the pll. (a new reset of the pll can cause a hang up of the whole system!) in ?fixed mode? the values are: n = 33 10 , m = 0 10 so that the pinstrapping must be: d(10:5) = hllllh, d(15:11) = lllll. in ?fixed mode? programming of registers gcm1 to gcm8 is no longer necessary and values at the pins d(15:5) are no longer taken into account and causes not a reset of the pll. a switching between e1 and t1 modes causes a reset of the clock unit but not of the pll itself. the configuration of the pll by pinstrapping (see table 3 ) in case of serial interface modes is done in the same way as by using the registers gcm5 and gcm6 if asynchronous micro controller interface mode (intel or motorola) is selected. so calculation of the pinstrapping values can be done also by using the formulas in gcm6 or by using the ?flexible master clock calculator? which is part of the software support of the quadliu tm , see chapter 8.3 . if the serial interfaces are selected, pinstrapping of d(15:5) configure the pll directly, so changes causes always a reset of the pll. the conditions to trigger a reset of the central clock pll are listed in table 12 . every reset of the pll causes a reset of the clock system. flexible master clock unit gcm1...gcm8 mclk e1 clocks t1 / j1 clocks qliu __f011 6 pll channel 1 to 4 im(1:0) d(15:5) quadliu tm pef 22504 functional description data sheet 80 rev. 1.3, 2006-01-25 3.6 line coding and framer interface modes an overview of the coding at the line interface and the modes at the framer interface is given in table 13 . table 12 conditions for a pll reset reset pin gcm2.vfreq_en used controller interface a pll reset is made if ... active x (will be set to 1 by reset) xalways inactive 1 asynchron (motorola or intel) if gcm5 or gcm6 are written and their values n or m change spi or sci if pinstrapping values change 0 asynchron (motorola or intel) never spi or sci if pinstrapping values change 0 -> 1 or 1 -> 0 asynchron (motorola or intel) if actual values of n or m in gcm5 or gcm6 are different to internal settings of the ?clocking fixed mode? spi or sci if pinstrap values are different to internal settings of the ?clocking fixed mode?; that is not allowed! table 13 line coding and framer interface modes line code, framer if mode register bits signals at pins fmr0.rc, lim3.drr fmr0.xc, lim3.drx rdon (rpc) rdo xdi xdin (xpb) ami, single rail 10 0 10 0 pos and neg ami error pos, via encoder neg, via encoder ami, dual rail 10 1 10 1 pos neg pos, encoder bypass neg, encoder bypass hdb3/b8zs, single rail 11 0 11 0 decoded data violation via encoder (hdb3/b8zs coding) hdb3/b8zs, dual rail 11 1 11 1 pos neg via encoder (hdb3/b8zs coding) nrz, single rail 00 0 00 0 pos 0 nrz, via encoder frame marker nrz, dual rail 00 1 00 1 pos neg nrz frame marker cmi, single rail 01 0 01 0 decoded data violation via encoder (cmi coding) cmi, dual rail 01 1 01 1 pos neg via encoder (cmi coding) data sheet 81 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.6.1 bipolar violation detection if the register bit bfr .bpv is set to 0 and after execution of the sequence described below, bipolar violations (bpv) consisting on single 1 pulses (separated from the previous 1 pulse by at least one 0 pulse) or on two consecutive 1 pulses are detected correctly and thus counted by the bipolar violation counter. bipolar violations (bpv) consisting on more than two consecutive 1 pulses are not detected correctly and thus not counted by the bipolar violation counter. compatibel to the quadfalc v2.1, bipolar violations (bpv) are not detected correctly and thus not counted by the bipolar violation counter, if bfr .bpv is set to 1 (default after reset). if the second of two consecutively received alternate mark inversion (ami) pulses is a bpv (second pulse has the same polarity as the first pulse) and bfr .bpv is set to 1, the receiver converts the second ami pulse to a logic zero. this conversion will cause a bit error and will mask detection and counting of the bpv. in contrast, any bpv separated from the previous 1 pulse by at least one 0 pulse is detected, counted, and recorded correctly this bpv conversion is not expected to cause any system level problems. bpv counts, bit errors counts, and crc counts may be slightly inaccurate, depending on the bpv rate. note that the special b8zs and hdb3 substitution do not contain consecutive bpv pulses so the conversion described above will not occur when receiving these patterns the behaviour of the bipolar violation detection is illustrated in figure 21 . 0 -> 1 or 1 -> 0 asynchron (motorola or intel) if actual values of n or m in gcm5 or gcm6 are different to internal settings of the ?clocking fixed mode? spi or sci if pinstrap values are different to internal settings of the ?clocking fixed mode?; that is not allowed! table 13 line coding and framer interface modes (cont?d) line code, framer if mode register bits signals at pins fmr0.rc, lim3.drr fmr0.xc, lim3.drx rdon (rpc) rdo xdi xdin (xpb) quadliu tm pef 22504 functional description data sheet 82 rev. 1.3, 2006-01-25 figure 21 behaviour of bipolar violation detection independent from the setting of bfr .bpv all bpvs will be detected in patterns with alternate 1 and 0 (50 % 1 density) in all fixed patterns with no consecutive 1 (less than 50 % 1 density) for bfr .bpv = 1 and execution of the sequence described below, variable or fixed patterns with at least two consecutive 1 pulses will show reduced bpvs. reduction of bpvs depends on densitiy of 1 pulses. as 1 pulse density increases, bpv rate decrease until the limiting case of ?all-one?. in framed ?all-one? pattern no bpvs will be detected, except a bpv following a frameing bit that is 0. for bfr .bpv = 0 variable or fixed patterns with at maximum two consecutive 1 pulses will show no reduced bpvs. sequence if the register bit bfr .bpv is set to 0, additionally the global registers regfp and regfd must be written with the following sequence to configure the best performance of the bipolar violation detection for all four channels: write 2c h into regfp write ff h into regfd write ac h into regfp write 2b h into regfp write 00 h into regfd write ab h into regfp write 2a h into regfp write ff h into regfd write aa h into regfp write 29 h into regfp write ff h into regfd write a9 h into regfp write 28 h into regfp write 00 h into regfd write a8 h into regfp write 27 h into regfp write ff h into regfd bpv +1 0 0-1 0+1-1+10+10-1+1-1-1 0+1 p n for bfr.bpv = 1 data bits set to 0, bpv not det ect ed rl1 rl2 inter nal si gnal s: bpv al ways detected bpv detected i f bfr.bpv = 0 n for bfr.bpv = 0 bpv for bfr.bpv = 1 bpv detected i f bfr.bpv = 0 bpv not detected bpv for bfr.bpv = 0 -1 -1 -1 data sheet 83 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description write a7 h into regfp write 00 h into regfp note that the configuration of the bipolar violation detection by these sequence is reset by a receive reset ( cmdr .rres = 1) 3.7 receive path an overview about the receive path of one channel of the quadliu tm is given in figure 22 . figure 22 receive system of one channel the recovered clock selection of figure 22 (multiplexer ?a?) is shown in more detail in figure 23 . the multiplexer ?c? in figure 22 selects the mode of the receive jitter attenuator, see chapter chapter 3.7.8 . the multiplexer ?d? in figure 22 selects if the receive clock rclk of a channel is sourced by the recovered route clock or by the dco-r (see above). the appropriate control register bits are cmr4.rs(2:0) ( cmr4 ). these register bits selects also different dco-r output frequencies. the sources of the receive clock output pins of the quadliu tm (rclk(4:1)), can be selected out of the receive clocks of the channels: the source of each of the four receive clock pins of the quadliu tm (rclk(4:1)) can be independently selected out of each of the four receive clocks of the channels by programming the registers bits gpc(2:6).rs(2:0) ( gpc2 ), see cross connection ?b? in figure 23 . qliu _f0117 a: contr ol l ed by cmr5.drss( 2:0) c: controlled by cmr1.dcs and lim0.mas d: controlled by cmr4.rs(2:0) j: controlled by cmr2.irsc and dic1.rbs(1:0) alarm detector analog los detector rclk sync rl1/roid rl2 dco-r mclk recovered clock selection fr om other channel s recei ve li ne interface a c d master clocking unit los j fclkr int ernal receive clock equalizer cl ock & data recovery decoder rdo dual receive elastic buffer dpll rdon quadliu tm pef 22504 functional description data sheet 84 rev. 1.3, 2006-01-25 figure 23 recovered and receive clock selection 3.7.1 receive line interface for data input, two different data types are supported: ternary coded signals received at pins rl1 and rl2 from 0 db downto -43 db for e1 or downto -36 db for t1/j1 ternary interface. the ternary interface is selected if lim1.drs is cleared. unipolar data (cmi code) on pin roid received from an optical interface. the optical interface is selected if lim1.drs is set and mr0.rc(1:0) = 01 b . 3.7.2 receive line coding in e1 applications, hdb3 line code and ami coding is provided for the data received from the ternary interface. in t1/j1 mode, b8zs and ami code is supported. selection of the receive line code is done with register bits mr0.rc(1:0) ( mr0 ). in case of the optical interface the cmi code (1t2b) with hdb3 or ami postprocessing is provided. if cmi code is selected the receive route clock is recovered from the data stream. the cmi decoder does not correct any errors. the hdb3 code is used along with double violation detection or extended code violation detection (selectable by mr0.exze)). in ami code all code violations are detected. the detected errors increment the code violation counter (16 bits length). the signal at the ternary interface is received at both ends of a transformer. an overview of the receive line coding is given in table 13 . 3.7.3 receive line interface each of the quadliu tm receivers includes an integrated switchable resistor r term = 300 ? . only for p/pg-lbga-160-1 package it also includes an integrated analog switch, see figure 24 . in this case the connectors rlas2(1:4) must not be connected to vssx. this allows the device to support 100 ? t1, 110 ? j1, 120 ? e1 and 75 ? e1 applications with a single bill of materials (so called ?generic? modes). the 300 ? switch is controlled by the registerbit lim0.rtrs ( lim0 ). the multi purpose analog switch is controlled by lim2.mpas. so a simple software controlling of both switches is possible, independent from one another. to enable switching of the separate analog switches of all four ports in general the register bits gpc(3:6).enmpas must be all set to 1. this is an additional protection to avoid closing of the analog switches if its connectors rlas2(1:4) are connected to vssx in fully quadliu tm version 1.2 hardware compatible sync qliu _rec_clk_sel_2 receive clock selection to dco_r recovered clock selection to dco_r channel 1 channel 2 rclk1 b a: contr oll ed by cmr5.drss( 2:0) b: contr oll ed by gpc( 2:4) .rs( 2:0) c c rclk rclk rclk4 rclk3 rclk2 a a pins recovered clock selection to dco_r channel 4 c rclk a recovered clock selection to dco_r channel 3 c rclk a recovered clock selection data sheet 85 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description applications. closing of the separate analog switches if its connectors rlas2(1:4) are connected to vssx the device might get demaged. it is also possible to control both switches by using a combination of both hardware and software using one (but not more) of the receive multi function ports as a receive line termination (rlt) input. it is proposed that the multi function port rpb be used for the rlt input, if this is the case then the pc2.rpc2(3:0) register bits must be programed to 1000 b , see table 34 . if rlt is configured at one of the multi function ports, the r term = 300 ? switch is controlled by the logical function (lim0.rtrs == rlt) & lim2.mpas and the analog switch is controlled by the logical function lim0.rtrs == rlt, were ?==? means logical equivalence. this enables a simple redundancy application using only one common board signal for switching between two channels. while one channel terminates the receive line with an impedance matched to the line impedance z 0 , the other channel is in high impedance mode (both switches are ff). table 14 shows the controlling of the switches (if gpc(3:6).enmpas = 1111 b ). figure 24 general receiver configuration with integrated resistor and analog switches for receive impedance matching this type of control offers very flexible receiver configurations which are described in the next chapters: 3.7.3.1 ?generic? receiver interface a ?generic? receiver configuration, using the same resistor r e = 100 ? for all applications with different line impedances z 0 , is shown in table 15 . table 14 controlling of the receive interface switches 300 ohm switch analog switch rlt is not configured rlt is configured lim0.rtrs lim2.mpas lim0.rtrs == rlt lim2.mpas off off 0 0 0 x off on011 0 on off 1 0 not applicable 1) 1) because makes no sense for redundancy applications on on 1 1 1 1 internally exter nal l y r e r term rl1 rl2 z 0 qli u_analog_swit ches_1 rlas2 r s quadliu tm pef 22504 functional description data sheet 86 rev. 1.3, 2006-01-25 this example uses the 300 ? switch to switch between 100 ? and 75 ? termination resistance for the different line impedances, the analog switch is not used. 3.7.3.2 receive line monitoring mode (rlm) for short-haul monitoring applications, the receive equalizer can be switched into receive line monitoring mode (rlm) by setting of the register bit lim0.rlm. one channel is used as a short-haul receiver while the other is used as a short-haul monitor, see figure 25 . in this mode the receiver sensitivity of the monitor is increased to detect an incoming signal of -20 db resistive attenuation. figure 25 principle of receive line monitoring rlm (shown for one line) 3.7.3.3 monitoring application using rlm a monitoring application using the receive line monitoring mode is shown in figure 26 . both, the 300 ? switch and the separate analog switch are always ff, so that in p/pg-lbga-160-1 package the pins rlas2 can be connected to vssx and hw compatibility to the quadliu tm v2.1 is fullfiled. table 15 generic receiver configuration example line impedance z 0 external resistor r e external resistors r s1 and r s2 300 ohm switch analog switch 120 ? 100 ? (for common e1/t1/j1 applications) ---- off not used 100 ? off 75 ? on falc ? (receiver) falc ? (monitor) rl1 e1/t1/j1 receive line lim0.rlm=0 lim0.rlm=1 r e r3 r3 rl2 rl1 rl2 t2 : t1 t2 : t1 resistive -20 db network f007 4 r e data sheet 87 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 26 monitoring application using rlm (shown for one line) the required resistor and transformer values are given in table 16 . 3.7.3.4 redundancy application using rlm in general for redundancy applications (?protection switching?) one channel is active while the other is in stand-by mode. switching between active and stand-by mode can be done by software and by hardware. software controlled switching can be done on the line side in transmit direction by using the register bit xpm2.xlt. combined hardware and software controlled switching can be done on the line side in transmit direction by a hardware signal if a multi function port is configured as tristate input xlt. it is proposed that the multi function port xpa be used for xlt or xlt input respectively, if this is the case then the pc1.xpc1(3:0) register bits must be programed, see table 34 . for one channel the multi function port xpa must be programmed as low active (pc1.xpc1 = 1110 b ) and for the other channel as high active (pc1.xpc1 = 1000 b ), so that no external inverter table 16 external component recommendations for monitoring applications using rlm parameters of external components 1) 1) this includes all parasitic effects caused by circuit board design. line impedance z 0 line impedance z 0 e1 t1 j1 75 ohm 120 ohm 100 ohm 110 ohm r e ( 1 %) 75 ? 120 ? 100 ? 110 ? r 3 ( 1 %) 330 ? 510 ? 430 ? 470 ? r ser see chapter 3.9.1 t 2 : t 1 1 :1 1 :1 1 : 1 1 : 1 e1/t1/j1 receive line rl1 rl2 rdo rl1 rl2 rdo xl1 xl2 e1/t1/j1 transmit line xdi xl1 xl2 xdi receiver channel rsig rsig qf alc_monit or _rlm r e r e r 3 r ser r ser r ser r ser monitor channel quadliu tm pef 22504 functional description data sheet 88 rev. 1.3, 2006-01-25 is necessary. so switching between both channels on line side is possible using only one signal as it is shown in figure 27 . if xlt or xlt is configured, the value of the register bit xpm2.xlt and the value of xlt are logically ored to control the transmit line side. (that means if xpa is configured as low active then the line side is in tristate mode for tristate = xpm2.xlt or not(xpa ). because the register bit xpm2.xlt and the multi function port xpa exist individually for every channel, switching on the line side in transmit direction can be done between channels of different or of the same quadliu tm device. this enables a simple application using only one common board signal for switching between two channels were both transmit channels are working in parallel (see figure 27 ). while one of them is driving the line, the other one is switched into transmit line tristate mode. the receive system interface pins rdo, rsig, sclkr and rfm can be set by software into tristate mode constantly using the register bit sic3.rrtri. in this mode ?tristate? means high impedance against v dd and v ss : no internal pull up or pull down resistor is present. combined hardware and software controlling of the tristate mode can be done by a hardware signal if a multi function port is configured as rtdmt input . it is proposed that the multi function port rpa be used for rtdmt, if this is the case then the pc1.rpc1(3:0) register bits must be programed, see table 34 . if rtdmt is configured the value of the register bit sic3.rrtri and the value of rtdmt are logically exored. this enables a simple application using only one common board signal for switching between two channels. while one of them is driving the system receive interface, the other one is switched into tristate mode. an overview about the tristate configurations of rdo, rsig, sclkr and rfm is given in table 17 . switching between both channels can be done on the system side in the receive direction by using the register bit sic3.rrtri and with or without selection of the multi function port as rtdmt. if the rtdmt function is selected, the values of rtdmt and sic3.rrtri are logically exored. if in one channel sic3.rrtri is set, rtdmt is active low because of the logical exor, and if in the other channel sic3.rrtri is cleared, rtdmt is active low because of the logical exor. so switching between both channels on the system side in the receive direction is possible using only one board signal. for application using rlm for protection switching the xlt, xlt and rtdmt multi function ports operate in conjunction with the sic3.rrtri bits. switching between channels can be done together on the system and the line side with only one common board signal, connected to xpa (xlt, xlt ) and rpa (rtdmt), as shown in figure 27 and table 17 : if this signal has low level channel 1 is active and channel 2 is in stand-by, if it has high level channel 1 is in stand-by and channel 2 is active. different line impedances require different resistor values as shown in table 16 . both switches are always off so that lim0.rtrs and gpc1.mpas must be always 0. if both channels are configured identically and supplied with the same system data and clocks, the transmit path can be switched from one channel to the other without causing a synchronization loss at the remote end. table 17 tristate configurations for the rdo, rsig, sclkr and rfm pins sic3.rrtri / sic3.rrtri exor rtdmt if rtdmt is selected on multi function port sic3.rtri pins rdo and rsig pins sclkr and rfm 1 x constant tristate (without pull up and pull down resistor) constant tristate (without pull up and pull down resistor) 0 0 never tristate never tristate 0 1 tristate during inactive channel phases (with pull up resistor never tristate data sheet 89 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 27 redundancy application using rlm (shown for one line) 3.7.3.5 general redundancy applications using the integrated analog switch of the quadliu tm general redundancy applications are possible were no additional resistive network is necessary. therefore, unlike in the redundancy application using rlm, long haul redundancy applications are possible as there are no serial resistors in the receive path. for these applications all of the hardware control functions described in chapter 3.7.3.4 are used in the same way. additionally the hardware control function of the receive interface switches is used: by configuring one of the multi function ports in both of the two channels to rlt, the receive interfaces of these channels can be connected on one receive line as shown in figure 28 . if rlt is configured at the multi function port rpb (proposed) by programming of the register bits pc2.rpc2(3:0) the configuration for the redundancy mode application is listed in table 19 . the analog switch is connected at the resistor r s . table 18 configuration for redundancy application usi ng rlm, switching with only one board signal configuration register bits channel 1 (active/stand-by) channel 2 (stand-by/active) xlt, xlt pc1.xpc1(3:0) 1000 1110 rtdmt pc1.rpc1(3:0) 1101 1101 receive system interface sic3.rrtri 0 1 rlm mode lim0.rlm 0 1 analog switch (always off) lim2.mpas 0 0 300 ? switch (always off) lim0.rtrss 0 0 e1/t1/j1 receive line rl1 rl2 rdo rl1 rl2 rdo xl1 xl2 e1/t1/j1 transmit line xdi xl1 xl2 xdi xlt (xpa) act ive/st and- by channel rsig rsig xlt (xpa) qli u_receiver_redun_rlm rtdmt rtdmt low/high sic3.rrtri = 0 sic3.rrtri = 1 (rpa) (rpa) r e r e r 3 r ser r ser r ser r ser lim0.rlm = 0 lim0.rlm = 1 active/stand-by channel quadliu tm pef 22504 functional description data sheet 90 rev. 1.3, 2006-01-25 switching between active and stand-by modes can be achieved by a single common board signal which is connected at the rlt, xlt and rtdmt inputs of both channels . in this application both receive channels are working in parallel for redundancy purpose. while one of them builds an interface with a receive termination resistance matched to the line impedance z 0 , the other one is switched into high impedance mode. figure 28 general redundancy application (shown for one line) two types of general redundancy applications like shown in figure 28 can be configured: a first application were the values of the external resistors r s and r ser are dependend on the line impedance z 0 . a so called ?generic? redundancy application were the values of the external resistors r s and r ser are fix for different line impedances z 0 . for both applications the general configuration shown in table 19 is used. table 19 general (proposed) configuration for redundancy applications, switching with only one board signal configuration register bits channel 1 (active/stand-by) channel 2 (stand-by/active) xlt, xlt pc1.xpc1(3:0) 1000 1110 rtdmt pc1.rpc1(3:0) 1101 1101 rlt pc2.rpc2(3:0) 1000 1000 receive system interface sic3.rrtri 0 1 receive line interface lim0.rtrs 0 1 rlm mode lim0.rlm 0 0 rdo rdo xl1 xl2 e1/t1/j1 transmit line xdi xl1 xl2 xdi active/stand-by channel stand-by/active channel rsig rsig sic3.rrtri = 0 lim0.rtrs = 0 sic3.rrtri = 1 lim0.rtrs = 1 xlt (xpa) xlt (xpa) rtdmt (rpa) rtdmt (rpa) low/high rlt (rpb) rlt (rpb) rl1 rl2 rl1 rlas2 rl1 rl2 rl1 rlas2 e1/t1/j1 receive line r s r s r ser r ser r ser r ser qli u_longhaul_red data sheet 91 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description in the first (?non-generic?) application only the analog switch is used. these switch is on in the active and off in the stand-by channel. the 300 ? switch is unused (always off, register bit lim2.mpas of both channels is always 0). also the transmit interface works in a non-generic mode (see chapter 3.9.1 ): the register bit pc6.tsre of both channels is always 0. the configuration (additional to that of table 19 ) is shown in table 20 : in the generic redundancy application different line impedances z 0 can be used without changing the board. additionally to the the analog switch the 300 ? switch is used to match the termination resistance to the different line impedances z 0 (register bit lim2.mpas of both channels). in the active channel this switch is on if the line impedance is 75 ? and off otherwise. in the stand-by channel this switch is always ff, see table 22 . also the transmit interface works in a generic mode (see chapter 3.9.1 ) using the register bit pc6.tsre of both channels. the configuration (additional to that of table 19 ) is shown in table 21 : table 22 illustrates the switching in the receive path used in the ?generic? redundancy application: 3.7.4 loss-of-signal detection there are different definitions for detecting loss-of-signal (los) alarms in the itu-t g.775 and ets 300233. the quadliu tm covers all these standards. the los indication is performed by generating an interrupt (if not masked) and activating a status bit. additionally a los status change interrupt is programmable by using register gcr.sci. detection: an alarm is generated if the incoming data stream has no pulses (no transitions) for a certain number (n) of consecutive pulse periods. a pulse with an amplitude less than q db below nominal is the criteria for ?no pulse? in the analog receive interface (lim1.drs = 0) ( lim1 ). the receive signal level q is programmable by three control bits lim1.ril(2:0) see table 56 . the number n can be set by an 8-bit register (pcd). the contents of the pcd register is multiplied by 16, which results in the number of pulse periods, i.e. the time which has to suspend until the alarm has to be detected. the programmable range is 16 to 4096 pulse table 20 configuration for ?non-generic? redundancy applications, switching with only one board signal line impedance z 0 [ohm] r s [ohm] r ser [ohm] lim2.mpas pc6.tsre 120 95 5.5 or 0, see table 28 00 110 100 75 70 table 21 configuration for ?generic? redundancy applications, switching with only one board signal line impedance z 0 [ohm] r s [ohm] r ser [ohm] lim2.mpas pc6.tsre 120 95 0 0see table 28 110 100 75 1 table 22 switching in ?generic? redundancy application channel 300 ohm switch analog switch active channel off, if z 0 is 120 ? ,110 ? or 100 ? (gpc1.mpas = 0) on, if z 0 is 75 ? (lim2.mpas = 1) on stand-by channel off off quadliu tm pef 22504 functional description data sheet 92 rev. 1.3, 2006-01-25 periods. ets300233 requires detection intervals of at least 1 ms. this time period results always in a lfa (loss of frame alignment) before a los is detected. recovery: in general the recovery procedure starts after detecting a logical one (digital receive interface) or a pulse (analog receive interface) with an amplitude more than q db (defined by lim1.ril(2:0)) of the nominal pulse. the value in the 8-bit register pcr defines the number of pulses (1 to 255) to clear the los alarm. if a loss-of-signal condition is detected in long-haul mode, the data stream can optionally be cleared automatically to avoid bit errors before los is indicated. the selection is done by lim1.clos = 1. 3.7.5 receive equalization network the quadliu tm automatically recovers the signals received on pins rl1 and rl2 in a range of up to -43 db for e1 or -36 db for t1/j1. the maximum reachable length with a 22 awg twisted pair cable is about 1500 m for e1 and about 2000m (~6560 ft) for t1. the integrated receive equalization network recovers signals with up to -43 db for e1 or -36 db for t1/j1 of cable attenuation automatically. noise filters eliminate the higher frequency part of the received signals. the incoming data is peak-detected and sliced to produce the digital data stream. the slicing level is software selectable in four steps (45%, 50%, 55%, 67%), see table 56 . for typical e1 applications, a level of 50% is used. the received data is then forwarded to the clock & data recovery unit. 3.7.6 receive line at tenuation indication status register res reports the current receive line attenuation for e1 in a range from 0 to -43 db in 25 steps of approximately 1.7 db each. for t1/j1 in a range from 0 to -36 db in 25 steps of approximately 1.4 db each. the least significant 5-bits of this register indicate the cable attenuation in db. these 5-bits are only valid in combination with the most significant two bits (res.ev(1:0) = 01 b ). 3.7.7 receive clock and data recovery the analog received signal on pins rl1 and rl2 is equalized and then peak-detected to produce a digital signal. the digital received signal on pins rdip and rdin is directly forwarded to the clock & data recovery. the so called dpll (digital pll) of the receive clock & data recovery extracts the route clock from the data stream received at the rl1/2 or roid lines. the clock & data recovery converts the data stream into a dual-rail, unipolar bit stream. the clock and data recovery uses an internally generated high frequency clock out of the master clocking unit based on mclk. the intrinsic jitter generated in the absence of any input jitter is not more than 0.035 ui. 3.7.8 receive jitter attenuator the receive jitter attenuator is based on the dco-r (digital clock oscillator, receive) in the receive path. jitter attenuation of the received data is done in the dual receive elastic buffer. the working clock is an internally generated high frequency clock based on the clock provided on pin mclk. the jitter attenuator meets the e1 requirements of itu-t i.431, g. 736 to 739, g.823 and etsi tbr12/13 and the t1 requirements of at&t pub 62411, pub 43802, tr-tsy 009,tr-tsy 253, tr-tsy 499 and itu-t i.431, g.703 and g. 824. the internal pll circuitry dco-r generates a "jitter-free" output clock which is directly dependent on the phase difference of the incoming clock and the jitter attenuated clock. the receive jitter attenuator can be synchronized either on the extracted receive clock rclk or on a 2.048 mhz/8 khz or 1.544 mhz/8 khz clock provided on pin sync (8 khz in master mode only). the jitter attenuated dco-r output clock can be output on pin rclk and fclkr. optionally an 8 khz clock is provided on pin sec ? fsc. for jitter attenuation the received data is written into the receive elastic buffer with the recovered clock sourced by the clock & data recovery and are read out with the de-jittered clock sourced by dco-r. if the receive elastic buffer is read out directly with the recovered receive clock, no jitter attenuation is performed. if the receive elastic buffer is read out with the receive framer clock fclkr, the receive elastic buffer performs a clock adoption from the recovered receive clock to fclkr. data sheet 93 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description the dco-r circuitry attenuates the incoming jittered clock starting at its corner frequency with 20 db per decade fall-off. wander with a jitter frequency below the corner frequency is passed unattenuated. the intrinsic jitter in the absence of any input jitter is < 0.02 ui. the corner frequency of the dco-r can be configured in a wide range, see table 23 and figure 29 . the jitter attenuator pll in the transmit path, so called as dco-x, is equivalent to the dco-r so that the principle for its configuring is the same. after reset the corner frequencies are 2 hz in e1 and 6 hz in t1/j1 mode and can be switched to 0.2 hz in e1 mode or 0.6 hz n t1 mode by setting the register bit lim2.scf for the dco-r or the register bit cmr5.scfx for the dco-x respectively. a logical table builds the integral (i) and proportional (p) parameter for the pi filter of the dco-r or dco-x, see figure 29 . if the register bits cmr2.ecfar or cmr2.ecfax are set for the dco-r or the dco-x respectively, the corner frequencies can be configured in a range between 2 hz and 0.2 hz using the register bits cmr3.cfar(3:0) or cmr3.cfax(3:0) respectively, see cmr3 , cmr4 and cmr5 . a logical table builds the integral and proportional parameter for the pi filter of the dco-r or dco-x out of the settings in cmr3.cfar(3:0) or cmr3.cfax(3:0) respectively. if additionally to cmr2.ecfar or cmr2.ecfax the bit cmr6.dcocompn ( cmr6 ) is set, which is valid for the dco-r and the dco-x, the corner frequencies and attenuation factors can be programmed in a wide range using the register bits cmr3.cfar(3:0) and cmr4.iar(4:0) for the dco-r and cmr3.cfax(3:0) and cmr5.iax(4:0) for the dco-x. the settings in cmr3.cfar(3:0)/cfax(3:0) build the proportional parameter, the settings in cmr4.iar(4:0) and cmr5.iax(4:0) build the integral parameter for the pi filters, independent from another. table 23 overview dco-r (dco-x) programming cmr6.dcocompn cmr2.ecfar (cmr2.ecfax) lim2.scf (cmr6.scfx) cmr3.cfar(3:0) (cmr3.cfax(3:0)) cmr4.iar(3:0) (cmr5.iax(4:0)) corner- frequencies of dco-r (dco-x) e1 / t1 x 0 0 not used not used 2 hz / 6 hz x 0 1 not used not used 0.2 hz / 0.6 hz 01x7 h 4 h not used 0.2 hz / 0.6 hz 2 hz / 6 hz 11x0 h ...f h , used as proportional parameter 9 h 8 h 6 h 4 h 3 h 2 h 1 h 00 h ...1f h used as integral parameter 19 h 13 h 12 h 0f h 0c h 0a h 08 h range 0.2 hz ... 100 hz 0.2 hz 0.6 hz 2 hz 6 hz 25 hz 50 hz 100 hz quadliu tm pef 22504 functional description data sheet 94 rev. 1.3, 2006-01-25 figure 29 principle of configuring the dco-r and dco-x corner frequencies the dco-r reference clock is watched: if one, two or three clock periods of the 2.048 mhz (1.544 mhz in t1/j1 mode) clock at pin sync or rclki (in single rail digital line interface mode) are missing the dco-r regulates its output frequency. if four or more clock periods are missing the dco-r circuitry is automatically centered to the nominal bit rate if the center function of dco-r is enabled by cmr2.dcf = 0. the actual dco-r output frequency is ?frozen? if the center function of dco-r is disabled by cmr2.dcf = 1. the receive jitter attenuator works in two different modes, selected by the multiplexer ?c? in figure 22 : slave mode: in slave mode (lim0.mas = 0) the dco-r is synchronized on the recovered route clock. in case of loss of signal (los) the dco-r switches automatically to master mode. the frequency at the pin sync must be 2.048 mhz (1.544 mhz). if bit cmr1.dcs is set automatic switching from the recovered route clock to sync is disabled. master mode: in master mode (lim0.mas = 1) the dco-r is in free running mode if no clock is supplied on pin sync. if an external clock on the sync input is applied, the dco-r synchronizes to this input. the external frequency can be 2.048 mhz (1.544 mhz) for ipc.ssyf = 0 or 8.0 khz for ipc.ssyf = 1. the following table table 24 shows this modes with the corresponding synchronization sources. cmr2 cmr3 cmr6 ? cor ner fr equency adj ust? dco-r (dco-x) ecfax for dco- x, ecfar for dco- r mux reset tabl e qli u_dco_x_adjust _2 cfax (for dco-x) cfar (for dco-r) lim2.scf for dco-r, cmr6.scfx for dco-x switches cor ner fr equency to 0.2 hz i n e1 cor ner fr equency 2 or 0.2 hz in e1 sets corner fr equency to 2 hz i n e1 mux iax ( for dco- x) cor ner fr equency r ange 2 ? 0.2 hz i n e1 lim2, cmr6 tabl e iar (for dco-r) cmr5 cmr4 dcocomp n cor ner fr equency r ange 8 ? 0.2 hz pi pi p i pi pi data sheet 95 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description the receive clock output rclk of every channel can be switched between 2 sources, see multiplexer ?d? in figure 22 : if the dco-r is the source of rclk the following frequencies are possible: 1.544, 3.088, 6.176, and 12.352 in t1/j1 mode and 2.048, 4.096, 8.192, and 16.384 mhz in e1 mode. controlling of the frequency is done by the register bits cmr4.rs(1:0). if the recovered clock out (of the clock and data recovery) is the source of rclk (see multiplexer ?d? in figure 22 ), only 2.048 mhz (1.544 mhz) is possible as output frequency. 3.7.8.1 receive jitter attenuation performance for e1 the jitter attenuator meets the jitter transfer requirements of the itu-t i.431 and g.735 to 739 (refer to figure 30 ) for t1/j1 the jitter attenuator meets the jitter transfer requirements of the pub 62411, pub 43802, tr- tsy 009,tr-tsy 253, tr-tsy 499 and itu-t i.431 and g.703 (refer to figure 31 ). table 24 clocking modes of dco-r mode internal los active sync input system clocks generated by dco-r master independent fixed to v dd dco-r centered, if cmr2.dcf = 0. (cmr2.dcf should not be set), see also cmr2 master independent 2.048 mhz (e1) or 1.544 mhz (t1) synchronized to sync input (external 2.048 mhz or 1.544 mhz, ipc.ssyf = 0), see also ipc master independent 8.0 khz synchronized to sync input (external 8.0 khz, ipc.ssyf = 1, cmr2.dcf = 0) slave no fixed to v dd synchronized to recovered line clock slave no 2.048 mhz (e1) or 1.544 mhz (t1) synchronized to recovered line clock slave yes fixed to v dd cmr1.dcs = 0: dco-r is centered, if cmr2.dcf = 0. (cmr2.dcf should not be set) cmr1.dcs = 1: synchronized on recovered line clock slave yes 2.048 mhz cmr1.dcs = 0: synchronized to sync input (external 2.048 mhz or 1.544 mhz) cmr1.dcs = 1: synchronized on recovered line clock quadliu tm pef 22504 functional description data sheet 96 rev. 1.3, 2006-01-25 figure 30 jitter attenuation performance (e1) figure 31 jitter attenuation performance (t1/j1) also the requirements of etsi tbr12/13 are satisfied. insuring adequate margin against tbr12/13 output jitter limit with 15 ui input at 20 hz the dco-r circuitry starts jitter attenuation at about 2 hz. 3.7.8.2 jitter tolerance (e1) the quadliu tm receiver?s tolerance to input jitter complies with itu for cept applications. figure 32 and figure 33 shows the curves of different input jitter specifications stated below as well as the quadliu tm performance. 1 10 100 1000 10000 0 10000 -60 -50 -40 -30 -20 -10 0 10 jitter frequency [hz] attenuation [db] qliu_jitt_att_e1 itu g 736 template quadliu 1 10 100 1000 10000 0 10000 -60 -50 -40 -30 -20 -10 0 10 jitter frequency [hz] attenuation [db] qliu_jitt_att_t1 -20 db/decade -40 db/decade pub 62411 h pub 62411 l quadliu data sheet 97 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 32 jitter tolerance (e1) figure 33 jitter tolerance (t1/j1) 1 10 100 1000 10000 0 10000 0.1 jitter frequency [hz] qliu_jitt_tol_e1 jitter amplitude [ui] 1 10 100 1000 pub 62411 tr-nwt 000499 cat ii ccitt g.823 itu-t i.431 quadliu 1 10 100 1000 10000 0 10000 0.1 jitter frequency [hz] qliu_jitt_tol_e1 jitter amplitude [ui] 1 10 100 1000 pub 62411 tr-nwt 000499 cat ii ccitt g.823 itu-t i.431 quadliu quadliu tm pef 22504 functional description data sheet 98 rev. 1.3, 2006-01-25 3.7.8.3 output jitter in the absence of any input jitter the quadliu tm generates the intrinsic output jitter, which is specified in the table 25 below. 3.7.8.4 output wander figure 34 shows 2 curves for the output wander. for both, setting of the register bits of gcm1 to gcm8 is identical to table 49 . curve 1 gives the default output wander were no additional programming of bits of registers gpc6 , regfp , regfd and wcon is necessary as described below. the corner frequency of the dco-r is 2 hz (see table 23 ). figure 34 output wander for further improvement of the output wander (curve 2), the following programming of register bits must be done: gpc6 . wand_imp = 1 wcon .wand = 03 h after that, the global registers regfp and regfd must be written with the following sequence to improve the output wander for both channels: write 30 h into regfp write aa h into regfd write b0 h into regfp write 31 h into regfp table 25 output jitter specification measurement filter bandwidth intrinsic output jitter (ui peak to peak) lower cutoff upper cutoff itu-t i.431 20 hz 100 khz < 0.015 700 hz 100 khz < 0.015 etsi tbr 12 40 hz 100 khz < 0.11 pub 62411 10 hz 8 khz < 0.015 8 hz 40 khz < 0.015 10 hz 40 khz < 0.015 broadband < 0.02 data sheet 99 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description write 00 h into regfd write b1 h into regfp write 32 h into regfp write aa h into regfd write b2 h into regfp write 33 h into regfp write 00 h into regfd write b3 h into regfp note that these wander configuration is reset by a receive reset ( cmdr .rres = 1) using this programming and 2 hz for the corner frequency of the dco-r, the output wander is given by curve 2. 3.7.9 dual receive elastic buffer for jitter attenuation the received data is written into the receive elastic buffer with the recovered clock sourced by the clock & data recovery and are read out with the de-jittered clock sourced by dco-r, see figure 22 . if the receive elastic buffer is read out directly with the recovered receive clock, no jitter attenuation is performed. if the receive elastic buffer is read out with the receive framer clock fclkr of the framer interface (fclkr is input), the receive elastic buffer performs a clock adoption from the recovered receive clock to fclkr. the receive elastic buffer can buffer two data streams so that dual rail mode is possible at the receive framer interface (rdop/rdon). in case of single rail mode on the receive framer interface, the bipolar violation signal bpv is buffered in the same way as the single rail signal and is supported at multi function pin rdon. the size of the elastic buffer can be configured independently for the receive and transmit direction. programming of the receive buffer size is done by dic1.rbs(1:0), of the transmit buffer size by dic1.xbs(1:0) see table 26 : the functions are: clock adoption between framer receive clock (fclkr input) and internally generated route clock (recovered line clock), see chapter 3.7.8 . compensation of input wander and jitter. reporting and controlling of slips in ?one frame? or short buffer mode the delay through the receive buffer is reduced to an average delay of 128 or 46 bits. in bypass mode the time slot assigner is disabled. slips are performed in all buffer modes except the bypass mode. after a slip is detected the read pointer is adjusted to one half of the current buffer size. figure 35 gives an idea of operation of the dual receive elastic buffer: a slip condition is detected when the write pointer (w) and the read pointer (r) of the memory are nearly coincident, i.e. the read pointer is within the slip limits (s +, s ?). if a slip condition is detected, a negative slip (one frame or one half of the current buffer size is skipped) or a positive slip (one frame or one half of the current buffer size is read out twice) is performed at the system interface, depending on the difference between rclk and the current working clock of the receive table 26 receive (transmit) elastic buffer modes dic1.rbs(1:0) (dic1.xbs(1:0)) mode frame buffer size (bits) maximum of wander (ui = 648 ns) average delay after performing a slip slip performance 00 10 e1 512 190 256 yes t1/j1 396 140 193 01 01 e1 256 100 128 t1/j1 193 74 96 10 11 (short buffer mode) e1 96 38 48 t1/j1 11 00 e1 bypass of the receive (transmit) elastic buffer no t1/j1 bypass of the receive (transmit) elastic buffer quadliu tm pef 22504 functional description data sheet 100 rev. 1.3, 2006-01-25 backplane interface. i.e. on the position of pointer r and w within the memory. a positive/negative slip is indicated in the interrupt status bits isr3.rsp and isr3.rsn. figure 35 the receive elastic buffer as circularly organized memory 3.8 additional receiver functions 3.8.1 error monitoring and alarm handling the following error monitoring and alarm handling is supported by the quadliu tm : loss-of-signal: detection and recovery is flagged by bit lsr0.los and isr2.los. transmit line shorted: detection and release is flagged by bit lsr1.xls and isr1.xlsc transmit ones-density: detection and release is flagged by bit lsr1.xlo and isr1.xlsc table 27 summary of alarm detection and release alarm detection condition clear condition loss-of-signal (los) no transitions (logical zeros) in a programmable time interval of 16 to 4096 consecutive pulse periods. programmable receive input signal threshold programmable number of ones (1 to 256) in a programmable time interval of 16 to 4096 consecutive pulse periods. a one is a signal with a level above the programmed threshold. transmit line short (xls) more than 3 pulse periods with highly increased transmit line current on xl1/2 transmit line current limiter inactive, see also chapter 3.9.7 transmit ones-density (xlo) 32 consecutive zeros in the transmit data stream on xl1/2 cleared with each transmitted pulse limits for slip detection (mode dependent) read pointer (system clock controlled) write pointer (route clock controlled) r? s+, s- r : : w: frame 2 time slots s- r frame 1 time slots moment of slip detection itd10952 w s+ slip data sheet 101 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.8.2 automatic modes the following automatic modes are performed by the quadliu tm : automatic clock source switching (see also: in slave mode (lim0.mas = 0) the dco-r synchronizes to the recovered route clock. in case of loss-of-signal (los) the dco-r switches to master mode automatically. if bit cmr1.dcs is set, automatic switching from the recovered route clock to sync is disabled. see also table 24 . automatic transmit clock switching, see chapter 3.9.3 . automatic local and remote loop switching based on in-band loop codes, see chapter 3.11.2 . 3.8.3 error counter the quadliu tm offers two error counters where each of them has a length of 16 bit: code violation counter, status registers cvcl and cvch prbs error counter, status registers becl and bech the error counters are buffered. buffer updating is done in two modes: one-second accumulation on demand by handshake with writing to the dec register in the one-second mode an internal/external one-second timer updates these buffers and resets the counter to accumulate the error events in the next one-second period. the error counter cannot overflow. error events occurring during an error counter reset are not lost. 3.8.4 one-second timer a one-second timer interrupt can be generated internally to indicate that the enabled alarm status bits or the error counters have to be checked. the one-second timer signal is output on port sec/fsc if configured by gpc1.csfp(1:0) ( gpc1 ). optionally synchronization to an external second timer is possible which has to be provided on pin sec/fsc. selecting the external second timer is done with gcr.ses. quadliu tm pef 22504 functional description data sheet 102 rev. 1.3, 2006-01-25 3.9 transmit path the transmit path of the quadliu tm is shown in figure 36 . figure 36 transmit system of one channel the serial transmit bit stream (single rail or dual rail) is processed by the transmitter which has the following functions: ais generation (blue alarm) generation of in-band loop-up/-down code 3.9.1 transmit line interface the transmit line interface includes two integrated serial resistors r tx as shown in figure 37 . two application modes are possible: for non-generic applications the extermal serial resistance r ser is dependent on the operation mode (e1/t1/j1) as shown in table 28 . the additional register bit pc6.tsre is not used, r tx is always 2 ? for generic e1/t1/j1 applications with optimized return loss the transmit output resistance r tx is configured by the register bit pc6.tsre: the operation mode (e1/t1/j1) is selected by software without the need for external hardware changes: here the external resistor r ser is always 0 ? , see table 28 . in e1 mode the value of r ser in table 28 is valid for both characteristic line impedances z 0 = 120 ? and z 0 = 75 ? . note that shorts between xl1 and xl2 cannot be detected, because the short circuit current is lower than 120 ma. this way a short between xl1 and xl2 will not harm the device the analog transmitter transforms the unipolar bit stream to ternary (alternate bipolar) return to zero signals of the appropriate programmable shape. the unipolar data is provided on pin xdi and the digital transmitter. pulse shaper, lbo encoder xdip xclk xl2 dco-x dual transmit elastic buffer mclk qliu _its10305 tr ansmi t li ne interface e: contr ol l ed by cmr2.ixsc and cmr2.irsc f: contr ol l ed by cmr1.dxss and automati c tr ansmi t cl ock swi tchi ng g: contr ol l ed by lim1.rl,jatt and lim2.elt h: contr ol l ed by dic1.xbs( 1:0) and automati c tr ansmi t cl ock swi tchi ng %: di vi der : contr ol l ed by cmr6.stf( 2:0) master clocking unit dac xl1/xoid g h e f % fclkr tclk fclkx automatic transmit cl ock s wi tchi ng recovered receive clock int ernal t ransmit clock from dco- r (in) xl4 xl3 xdin data sheet 103 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 37 transmit line interface similar to the receive line interface two different data types are supported: ternary signal: single-rail data is converted into a ternary signal which is output on pins xl1 and xl2. selection between b8zs or simple ami coding is provided. unipolar data on port xoid is transmitted in cmi code with or without (dic3.cmi) preprocessed by b8zs coding or hdb3 precoding (mr3.cmi) to a fiber-optical interface. clocking off data is done with the rising edge of the transmit clock xclk (1544 khz) and with a programmable polarity. selection is done by mr0.xc1 = 0 and lim1.drs = 1. an overview of the transmit line coding is given in table 13 . 3.9.2 transmit clock tclk the transmit clock input tclk (multi function port) of the quadliu tm can be configured for 1.544, 3.088, 6.176, 12.352 and 24.704 mhz input frequency in t1/j1 mode and 2.048, 4.096, 8.192, 16.384 and 32.768 mhz input frequency in e1 mode. frequency selection is done by the register bits cmr6.stf(2:0) ( cmr6 ). see divider ?%? in figure 36 . 3.9.3 automatic transmit clock switching the transmit clock output xclk can be derived from tclk directly. in this case the tclk frequency must be 32.768 mhz in e1 or 24.704 mhz in t1/j1 mode. or with using the dco-x, were the dco-x reference is tclk. if tclk fails, the transmit clock output xclk will also fail. to avoid this, a so called automatic transmit clock switching can be enabled by setting the register bit cmr6.atcs ( cmr6 ). then fclkx will be used instead of tclk if tclk is lost. the transmit elastic buffer must be active. automatically switching between tclk and fclkx is done in the following both cases: if the tclk input is used directly as source for the transmit clock xclk, the output of the dco-x is not used. the dco-x reference clock is fclkx. if loss of tclk is detected, the transmit clock xclk will be switched automatically (if cmr6.atcs = 1) to the dco-x output which is synchronous to fclkx (see multiplexer ?h? in figure 36 ). if xclk was switched to the dco-x output and tclk becomes active, switching of xclk (back) table 28 recommended transmitter configuration values r ser (ohm), accuracy +/- 1 % application mode pc6.tsre xl3, xl4 operation mode 2 1) 1) the values in this column refers to an ideal transformer without any parasitics. any transformer resistance or other parasiti c resistances have to be taken into account when calculating the final value of the output serial resistors. generic 1 connected to r ser and xformer junction e1 20t1/j1 7.5 non generic 0 left open e1 2 0 left open t1/j1 internally exter nal ly r tx xl1 xl2 z 0 qliu_tx-interface r ser r ser r tx quadliu tm pef 22504 functional description data sheet 104 rev. 1.3, 2006-01-25 to tclk is automatically performed if cmr6.atcs = 1. all switchings of xclk between tclk and the dco- x output are shown in the interrupt status bit isr7.xclkss0 which is masked by imr7.xclkss0. these kinds of switching cannot be done in general without causing phase jumps in the transmit clock xclk. additionally after loss of tclk the transmit clock xclk is also lost during the ?detection time? for loss of tclk and the transmit pulses are disturbed. if cmr6.atcs is cleared, tclk is used (again) as source for the transmit clock xclk, independent if tclk is lost or not. the interrupt status bit isr7.xclkss0 will be set also. if the transmit clock xclk is sourced by the dco-x output and the dco-x reference clock is tclk, the dco- x reference will be switched automatically (if cmr6.atcs = 1) to fclkx (see multiplexer ?f? in figure 36 ) after a loss of tclk was detected. if the dco-x reference was switched to fclkx and tclk becomes active, switching of the reference (back) to tclk is automatically performed if cmr6.atcs = 1. all switchings of the reference between tclk and fclkx are shown in the interrupt status bit isr7.xclkss1 which is masked by imr7.xclkss1. for these kinds of automatically switching, the transmit clock xclk fulfills the jitter-, wander- and frequency deviation- requirements as specified for e1/t1 after the clock source of the dco-x was changed. if cmr6.atcs is cleared, tclk is used (again) as reference for the dco-x, independent if tclk is lost or not. the interrupt status bit isr7.xclkss1 will be set also. the status register bits clkstat.tclklos and clkstat.fclkxlos ( clkstat ) show if the appropriate clock is actual lost or not, so together with isr7.xclkss1 and isr7.xclkss0 the complete information regarding the current status of the transmit clock system is provided. 3.9.4 transmit jitter attenuator the transmit jitter attenuator is based on the so called dco-x (digital clock oscillator, transmit) in the transmit path. jitter attenuation of the transmit data is done in the transmit elastic buffer, see figure 36 . the dco-x circuitry generates a "jitter-free" transmit clock and meets the e1 requirements of itu-t i.431, g. 736 to 739, g.823 and etsi tbr12/13 and the t1 requirements of at&t pub 62411, pub 43802, tr-tsy 009,tr-tsy 253, tr- tsy 499 and itu-t i.431, g.703 and g. 824. the dco-x circuitry works internally with the same high frequency clock as the dco-r. it synchronizes either to the working clock of the transmit system interface (internal transmit clock) or the clock provided on multi function pin tclk or the receive clock rclk (remote loop/loop-timed). the dco-x attenuates the incoming jitter starting at its corner frequency with 20 db per decade fall-off. with the jitter attenuated clock, which is directly depending on the phase difference of the incoming clock and the jitter attenuated clock, data is read from the transmit elastic buffer (512/386 bit) or from the jatt buffer (512/386 bit, remote loop), see figure 38 . wander with a jitter frequency below the corner frequency is passed transparently. the dual transmit elastic buffer can buffer two data streams so that dual rail mode is possible at the transmit framer interface (xdip/xdin). the dco-x is equivalent to the dco-r so that the principle for its configuring is the same, see figure 29 and cmr3 , cmr4 and cmr5 . the dco-x reference clock is monitored: if one, two or three clock periods of the 2.048 mhz (1.544 mhz in t1/j1 mode) clock at fclkx are missing the dco-x regulates its output frequency. if four or more clock periods are missing the dco-x circuitry is automatically centered to the nominal frequency of 2.048 mhz (1.544 mhz in t1/j1) if the center function of dco-x is enabled by cmr2.dcoxc = 1. the actual dco-x output frequency is ?frozen? if the center function of dco-r is disabled by cmr2.dcoxc = 0. the jitter attenuated clock is output on pin xclk if the transmit jitter attenuator is enabled, see multiplexer ?h? in figure 36 . the transmit jitter attenuator can be disabled. in that case data is read from the transmit elastic buffer with the clock sourced on pin tclk, see multiplexer ?h? in figure 36 . synchronization between fclkx and tclk has to be done externally. in the loop-timed clock configuration (lim2.elt) the dco-x circuitry generates a transmit clock which is frequency synchronized on rclk, see figure 38 and multiplexers ?g? and ?f? in figure 36 . in this configuration the transmit elastic buffer has to be enabled. data sheet 105 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description figure 38 clocking and data in remote loop configuration 3.9.5 dual transmit elastic buffer the received single rail bit stream from pin xdi or dual rail bit stream from the pins xdip and xdin are optionally stored in the transmit elastic buffer, see figure 36 . the tansmit elastic buffer is organized as the receive elastic buffer. the functions are also equal to the receive side. programming of the dual transmit buffer size is done by dic1.xbs(1:0) in the same way as programming of the dual receive buffer size by dic1.rbs(1:0), see table 26 : the functions of the transmit buffer are: clock adoption between framer transmit clock (fclkx) and internally generated transmit route clock, see chapter 3.9.4 . compensation of input wander and jitter. reporting and controlling of slips writing of received data from xdip/xdin is controlled by the internal transmit clock. selection of fclkx or fclkr is possible, see multiplexer ?e? in figure 36 . (if the dco-r output is selected, the dco_r output is also output at fclkr.) reading of stored data is controlled by the clock generated either by the dco-x circuitry or the externally generated tclk. with the de-jittered clock data is read from the dual transmit elastic buffer and are forwarded to the transmitter. reporting and controlling of slips is done according to the receive direction. positive/negative slips are reported in interrupt status bits isr4.xsp and isr4.xsn. if the transmit buffer is bypassed data is directly transferred to the transmitter. 3.9.6 programmable pulse shaper and line build-out the transmitter includes a programmable pulse shaper to generate transmit pulse masks according to: for t1: fcc68; ansi t1. 403 1999, figure 4; itu-t g703 11/2001, figure 10 (for different cable lengths), see figure 64 and figure 40 for measurement configuration were r load = 100 ? for e1: itu-t g703 11/2001, figure 15 (for 0 m cable length) see figure 63 ; itu-t g703 11/2001, figure 20 (for dcim mode), see figure 39 for measurement configuration were r load = 120 ? or r load = 75 ? the transmit pulse shape (u pulse ) is programmed either pulse shaper, lbo encoder xdata xclk xl2 dco-x mclk qliu _rem ote_loop_clocking tr ansmit li ne interface master clocking unit dac xl1/xoid1 g h e f % fclkr tclk fclkx recovered receive clock equalizer cl ock & data recovery decoder rl1/roid rl2 recei ve li ne interface dpll ja tt buffer rdata automatic transmit cl ock s wi tchi ng from dco-r xl4 xl3 quadliu tm pef 22504 functional description data sheet 106 rev. 1.3, 2006-01-25 by the registers xmp(2:0) compatible to the quadliu tm , see table 29 and table 30 , if the register bit xpm2.xpdis is cleared, see xpm2 or by the registers txp(16:1), see txp1 , if the register bit xpm2.xpdis is set, see table 31 and table 32 . for more details see chapter ?operational description? to reduce the crosstalk on the received signals in long haul applications the quadliu tm offers the ability to place a transmit attenuator (line build-out, lbo) in the data path. this is used only in t1 mode. lbo attenuation is selectable with the values 0, -7.5, -15 or -22.5 db (register bits lim2 .lbo(2:1)). ansi t1. 403 defines only 0 to - 15 db. figure 39 measurement configuration for e1 transmit pulse template figure 40 measurement configuration for t1/j1 transmit pulse template 3.9.6.1 quadfalc tm v2.1 compatible programming with xpm(2:0) registers after reset xpm2.xpdis is zero so that programming with xpm(2:0) is selected. the default setting after reset for the registers xmp(2:0) generates the e1 pulse shape, see table 30 , but with an unreduced amplitude. no reset value for t1 mode exists. so after switching into t1 mode, an explicit new programming like described in table 29 is necessary. if lbo attenuation is selected, the programming of xpm(2:0) will be ignored. instead the pulse shape programming is handled internally: the generated pulse shape before lbo filtering is the same as for t1 0 to 40 m. the given values are optimized for transformer ratio: 1 : 2.4 and cable type awg24 using transmitter configurations listed in table 28 and shown in figure 37 . the measurement configurations of figure 39 with r load = 120 ? and figure 40 with r load = 100 ? are used. table 29 recommended pulse shaper programming for t1 /j1 with registers xpm(2:0) (compatible to quadfalc v2.1 ) lbo range range xpm0 xpm1 xpm2 (db) (m) (ft) hexadecimal 0 0 to 40 0 to 133 d7 22 11 0 40 to 81 133 to 266 fa 26 11 0 81 to 122 266 to 399 3d 37 11 0 122 to 162 399 to 533 5f 3f 11 qli u_pulse_meas_t emp_e1 quadliu r ser r load u pulse xl1 xl2 qli u_pulse_meas_t emp_t1 quadliu r ser cabl e, z 0 r load 0 t o 200 m u pu l se xl1 xl2 (0 to 655 ft) data sheet 107 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.9.6.2 programming with txp(16:1) registers by setting of register bit xpm2.xpdis the pulse shape will be configured by the registers txp(16:1) ( txp1 ). every of these registers define the amplitude value of one sampling point in the symbol. a symbol is formed by 16 sampling points. the default setting after reset for the registers txp(16:1) generates also the e1 pulse shape (0m), but with an unreduced amplitude. (txp(9:16) = 00 h ; txp(1:8) = 38 h = 56 d ) no reset value for t1 mode exists. so after switching into t1 mode, an explicit new programming like table 31 is necessary. the pulse shape configuration will be done also by the registers txp(16:1) if a lbo attenuation is selected. the pulse shape is then determined by both, the values of txp(16:1) and the lbo filtering. the given values in table 31 and table 32 are optimized for transformer ratio: 1 : 2.4; cable: awg24 and configurations listed in table 28 and shown in figure 37 . 0 162 to 200 533 to 655 3f cb 11 7.5 --- are not taken into account: pulse shape generation is handled internally. 15 --- 22.5 --- table 30 recommended pulse shaper programming for e1 with registers xpm(2:0) (compatible to quadfalc v2.1) r ser z 0 transmit line interface mode xpm0 xpm1 xpm2 (? )( ? ) hexadecimal 7.5 1) 1) the values in this row refers to an ideal application without any parasitics. any other parasitic resistances have to be take n into account when calculating the final value of the output serial resistors. 120 non generic 9c 03 00 7.5 75 non generic 8d 03 00 --- reset values 7b 03 40 7.5 dcim mode non generic ef bd 07 table 31 recommended pulse shaper programming for t1 with registers txp(16:1) lbo range range txp values, decimal (db)(m) (ft) 12345678910111213141516 0 0 to 40 0 to 133 464646444444444416-17-14-14-4 -4 -4 -4 0 40 to 81 133 to 266 48 50 48 46 46 44 44 44 16 -17 -14 -14 -4 -4 -4 -4 0 81 to 122266 to 399485046444444444416-25-17-14-4 -4 -4 -4 0 81 to 122266 to 399565854524848484816-25-17-14-4 -4 -4 -4 0 122 to 162 399 to 533 63 63 58 56 52 52 51 51 16 -34 -32 -17 -4 -4 -4 -4 7.5 -- -- 464646444444444416-17-14-14-4 -4 -4 -4 155 -- -- 464646444444444416-17-14-14-4 -4 -4 -4 22.5 -- -- 46 46 46 44 44 44 44 44 16 -17 -14 -14 -4 -4 -4 -4 table 29 recommended pulse shaper programming for t1 /j1 with registers xpm(2:0) (compatible to quadfalc v2.1 (cont?d) ) lbo range range xpm0 xpm1 xpm2 quadliu tm pef 22504 functional description data sheet 108 rev. 1.3, 2006-01-25 3.9.7 transmit line monitor the transmit line monitor (see principle in figure 41 ) compares the transmit line current on xl1 and xl2 with an on-chip transmit line current limiter. the monitor detects faults on the primary side of the transformer indicated by a highly increased transmit line current (more than 120 ma for at least 3 consecutive pulses sourced by vddx) and protects the device from damage by setting the transmit line driver xl1/2 into high-impedance state automatically (if enabled by xpm2.daxlt = 0, see xpm2 ). the current limiter checks the actual current value of xl1/2 and if the transmit line current drops below the detection limit the high-impedance state is cleared. two conditions are detected by the monitor: transmit line ones density (more than 31 consecutive zeros) indicated by lsr1.xlo ( lsr1 ). transmit line high current indicated by lsr1.xls. in both cases a transmit line monitor status change interrupt is provided. shorts between xl1 or xl2 and v dd , v ddc or v ddp are not detected. note that shorts between xl1 and xl2 cannot be detected. this way a short between xl1 and xl2 will not harm the device. figure 41 transmit line monitor configuration table 32 recommended pulse shaper programming for e1 with registers txp(16:1) r ser z 0 transmit line interface mode txp values, decimal ( ? )( ? ) 12345678910111213141516 2 1) 1) the values in this row refers to an ideal application without any parasitics. any other parasitic resistances have to be take n into account when calculating the final value of the output serial resistors. 120 generic 424040404040404200000000 7.5 120 non generic6357575757575757-40000000 2 75 generic 424040404040404000000000 7.5 75 non generic605858585858585800000000 -- reset values 565656565656565600000000 2 dcim mode generic 2020202020202020-20-20-20-20-20-20-20-20 7.5 dcim mode non generic 28 28 28 28 28 28 28 28 -28 -28 -28 -28 -28 -28 -28 -28 its10936 pulse shaper monitor line tri xdata xl1 xl2 data sheet 109 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.10 framer interface the framer interface of the quadliu tm is shown in figure 42 . figure 42 framer interface (shown for one channel) configuring of the framer interface consists on configuration of the interface mode (single/dual rail) configuration of the multi function ports, see chapter 3.12 selection of dual or single rail mode can be done in receive and transmit direction independent from each other. in single rail mode of the receive direction (lim3.drr = 0, lim3 ), the unipolar data is supported at rdop and the bipolar violation (bpv) is supported at the receive multifunction pins. therefore one of the three receive multifunction pins must be configured to rdon/bpv output (for example pc3.rpx3(3:0) = 1110 b ), see table 34 , if bpv output is used exernally. if dual rail mode is selected in receive direction by setting of register bit lim3.drr, the positive rail of the data is supported at rdop and the negative rail of the data or is supported at the receive multi function pins. therefore one of the three receive multifunction pins must be configured to rdon/bpv output, see table 34 . clocking of rdop and rdon/bpv is done with the rising or falling edge of the internal receive clock, selected by dic3.resr. the internal receive clock can be sourced either by the receive clock rclk of the receive system (cmr2.irsc = 1, cmr2 ). to support the framer with these clock fclkr output pin function must be selected by pc5.csrp = 1 ( pc5 ). or receive framer interface transmit framer interface transmit system (see chapter 3.8.) fclkr rp(a...c) fclkx xp(a...b) xdip tclk tclk xclk receive system (see chapter 3.6) fclkx internal transmit cl ock dual transmit eastic buffer rclk dual receive elastic buffer los rdon/bpv rclk xdin multi function ports multi function ports qliu_framer_i f internal recei ve cl ock k j: controlled by cmr2.irsc and dic1.rbs(1:0) k: controlled by cmr2.ixsc 1: input/output selection of fclkr by pc5.csrp rdon/bpv los rdop rdop j xdin xdip recovered cl ock from dco-r 1 quadliu tm pef 22504 functional description data sheet 110 rev. 1.3, 2006-01-25 by the fclkr input pin. in that case fclkr input pin function must be selected by pc5.csrp = 0 to use the receiver clock from the framer. in single rail mode of the transmit direction (lim3.drx = 0, lim3 ), the input for the unipolar data of the framer is xdip. if dual rail mode is selected in transmit direction by setting of register bit lim3.drx, the input for the positive rail of the data is xdip and the input for the negative rail of the data is the multi function port xdin. therefore one of the both transmit multifunction ports must be configured to xdin (for example pc1.xpx1(3:0) = 1101 b ), see table 34 . clocking (sampling) of xdip and xdin is done with the rising or falling edge of the internal transmit clock, selected by dic3.resx. the internal transmit clock can be sourced either by the internal receive clock of the receive system (cmr2.ixsc = 1). to support the framer with these clock fclkr output pin function must be selected by pc5.csrp = 1. or by the fclkx input pin (cmr2.ixsc = 0). in that case fclkx is supported by the framer. 3.11 test functions the following chapters describe the different test function of the quadliu tm . 3.11.1 pseudo-random binary sequence ge neration and monitor all bits of all slots in a e1t1/j1 frame are used for prbs. the quadliu tm has the ability to generate and monitor pseudo-random binary sequences (prbs). the generated prbs pattern is transmitted to the remote end on pins xl1/2 and can be inverted optionally. generating and monitoring of prbs pattern is done according to itu-t o.150 and itu-t o.151. the prbs monitor senses the prbs pattern in the incoming data stream. synchronization is done on the inverted and non-inverted prbs pattern. the current synchronization status is reported in status and interrupt status registers. enabled by bit lcr1.eprm each prbs bit error increments an error counter bec ( becl ). synchronization is reached within 400 ms with a probability of 99.9% at a bit error rate of up to 10 -1 . the prbs pattern (polynomials) can be selected to be 211-1, 215-1, 220-1or 223-1 by the register bits tpc0.prp(1:0) and lcr1.llbp ( lcr1 ), see table 33 . for definition of this polynomials see the standards itu- t o.150, o.151. and tr62441. the polynomials 211-1 and 223-1 can be selected only if tpc0.prm unequal 00b. transmission of prbs pattern is enabled by register bit lcr1.xprbs. with the register bit lcr1.fllb switching between not inverted and inverted transmit pattern can be done. the receive monitoring of prbs patterns is enabled by register bit lcr1.eprm. in general, depending on bit lcr1.eprm the source of the interrupt status bit isr1.llbsc changed, see register description. the type of detected prbs pattern in the receiver is shown in the status register bits prbssta.prs. every change of the bits prs in prbssta sets the interrupt bit isr1.llbsc if register bit lcr1.eprm is set. no pattern is also detected if the mode ?alarm simulation? is active. the detection of all_zero or all_ones pattern is done over 12, 16, 21 or 24 consecutive bits, depending on the selected prbs polynomial (211-1, 215-1, 220-1or 223-1 respectively). the detection of all_zero or all_ones is independent on lcr1.fllb. the distinction between all-ones and all-zeros pattern is possible by combination of. the information about the first reached prbs status after the prbs monitor was enabled (?prbs pattern detected? or ?inverted prbs pattern detected?) with the status information ?all-zero pattern detected? or ?all-ones pattern detected? if an ?all-one? or an ?all-zero? pattern is detected by the prbs monitor, the interrupt status bit isr1.llbsc is set not only once, but is set permanent. to avoid that the llbsc interrupt is issued permanent and the host micro controller would permanent be occupied, the following proceeding is recommended: after reading of the interrupt status bit isr1.llbsc , the appropriate interrupt routine should set the interrupt mask bits imr1.llbsc to 1, after an ?all-one? or an ?all-zero? pattern was indicated, to avoid permanent interrupts issued by the quadliu tm . the prbs status register bits prbssta.prs should be polled to detect changes in data sheet 111 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description the pattern, for example once per second, using the isr3.sec interrupt. in case prbssta.prs(2:1) is unequal 11 b , the interrupt mask bits should be cleared to return to normal operation. because every bit error in the prbs sequence increments the bit error counter bec, no special status information like ?prbs detected with errors? is given here. 3.11.2 in-band loop generation, detection and loop switching detection and generation of in-band loop code is supported by the quadliu tm on the line side and on the framer side independent from another. on the framer side it is only supported in single rail mode. the quadliu tm generates and detects unframed in-band codes where the complete data stream is used by the in-band signaling information.the so called loop-up code (for loop activation) and loop-down code (for loop deactivation) are recognized. the maximum allowed bit error rate within the loop codes can be up to 10 -2 for proper detection of the loop codes. one ?in-band loop sequence? consists of a bit sequence of 51200 consecutive bits. the in-band loop code detection is based on the examination of such ?in-band loop sequences?. the following in-band loop code functionality is performed by the quadliu tm : the necessary reception time of in-band loop codes until an automatic loop switching is performed is configured for the system side by the register bits inbldtr.inbldt(1:0) ( inbldtr ). configuring for the line side is done by inbldtr.inbldr(1:0). if for example inbldtr.inbldr(1:0) = 00 b a time of 16 ?in-band loop sequences? (16 x 51200 bits) is selected for the line side. the interrupt status register bits isr6.(3:0) reflects the type of detected in-band loop code. masking can be done by imr6(3:0). the status bits are set after one ?in-band loop sequence? is detected (no dependency on inbldtr). transmission of in-band loop codes is enabled by programming mr3.xld/xlu in e1 mode or mr5.xld/xlu in t1/j1 mode. transmission of codes is done by the quadliu tm lasting for at least 5 seconds. the quadliu tm also offers the ability to generate and detect flexible in-band loop-up and loop-down patterns (lcr1.llbp = 1) ( lcr1 ). programming of these patterns is done in registers lcr2 and lcr3 ( lcr2 ). the pattern length is individually programmable in length from 2 to 8 bits by lcr1.lac(1:0) and lcr1.ldc(1:0). a shorter pattern can be inplemented by configuring a repeating pattern in the lcr2 and lcr3. automatic loop switching (activation and deactivation, for remote loop, see chapter 3.11.3 and local loop, see chapter 3.11.4 ) based on in-band loop codes can be done. two kinds of line loop back (llb) codes are defined in ansi-t1.403, 1999 in chapter 9.4.1.1 and 9.4.1.2. respectively. automatic loop switching must be enabled through configuration register bits als.sils for the in-band loop codes coming from the system side and als.lils for the in-band loop codes coming from the line side respectively. masking of isr6.(3:0) for interrupt can be done by register bits imr6.(3:0). the interrupt status register bits isr6.(3:0) ( isr6 ) will be set to 1 if an appropriate in-band code were detected, independent if automatic loop switching is enabled. (because the controller knows if automatic loop switching is enabled, it knows if a loop is activated or not.) code detection status only for the line side is displayed in e1 mode in status register bits lsr2.llbdd / llbad and in t1/j1 mode in lsr1.llbdd / llbad. only unframed in-band loop code can be generated and detected. automatic loop switching is logically ord with the appropriate loop switching by register bits. table 33 supported prbs polynomials tpc0.prp(1:0) tpc0.prm lcr1.llbp kind of polynomial comment 00 01 or 11 x 2 11 -1 01 01 or 11 x 2 15 -1 10 01 or 11 x 2 20 -1 11 01 or 11 x 2 23 -1 xx 00 0 2 15 -1 sw compatible to quadliu xx 00 1 2 20 -1 quadliu tm pef 22504 functional description data sheet 112 rev. 1.3, 2006-01-25 if a remote loop is activated by an automatic loop switching the register bit lim0.jatt controls also if the jitter attenuator is active or not, see also figure 38 . if als.lils is set ( als ), the remote loop is activated after an activation in-band loop code (see ansi t1 404, chapter 9.4.1.1.) was detected from the line side and if the local loop is not activated by lim0.ll = 1. the remote loop is deactivated after a deactivation in-band loop code (see ansi t1 404, chapter 9.4.1.2.) was detected from the line side. (but if the remote loop is additionally activated by lim0.rl = 1 the remote loop is still active, because automatic loop switching is logically ord with the appropriate loop switching by register bits.). if als.sils is set, the local loop is activated after an activation in-band loop code (see ansi t1 404, chapter 9.4.1.1.) was detected from the system side. the local loop is deactivated after a deactivation in-band loop code (see ansi t1 404, chapter 9.4.1.2.) was detected from the system side. (but if the local loop is additionally activated by lim0.ll = 1 the local loop is still active, because automatic loop switching is logically ord with the appropriate loop switching by register bits.). als.sils and als.lils both must not be set to 1 simultaneous. if als.sils or als.lils are set after an in-band loop code was detected, no automatic loop switching is performed. if als.lils is cleared, an automatic activated remote loop is deactivated. if als.sils is cleared, an automatic activated local loop is deactivated. the kind of detected in-band loop codes is shown in the interrupt status register bits isr6.(3:0). to avoid deadlocks in the quadliu tm an activation of the remote loop is not possible by in-band loop codes if the local loop (see chapter 3.11.4 ) is closed (lim0.ll is set). 3.11.3 remote loop in the remote loop-back mode the clock and data recovered from the line inputs rl1/2 or roid are routed back to the line outputs xl1/2 or xoid through the analog or digital transmitter, see figure 43 and figure 38 . as in normal mode they are also sent to the framer interface. the remote loop-back mode is activated by control bit lim1.rl or after detection of the appropriate in-band loop code, if enabled by als.lils and if lim0.ll = 0 ( lim0 ) (to avoid deadlocks), see chapter 3.11.2 . received data can be looped with or without the jitter attenuator (jatt buffer) dependent on lim1.jatt ( lim1 ). figure 43 remote loop pulse shaper, lbo encoder xdata xl2 qliu _rem ote_loop tr ansmi t li ne interface dac xl1/xoid equalizer clock & data recovery decoder rl1/roid recei ve li ne interface dpll ja tt buffer rdata cl ocki n g rl2 data sheet 113 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description 3.11.4 local loop the local loop-back is activated by the control bit lim0.ll ( lim0 ). after detection of the appropriate in-band loop code, if enabled by als.sils, see chapter 3.11.2 . the local loop-back mode disconnects the receive lines rl1/2 or roid from the receiver. instead of the signals coming from the line the data provided by the framer interface is routed through the analog receiver back to the framer interface. however, the bit stream is transmitted undisturbed on the line at xl1/2. however, an ais to the distant end can be enabled by setting mr1.xais = 1 without influencing the data looped back to the framer interface. the signal codes for transmitter and receiver have to be identical. figure 44 local loop 3.11.5 payload loop-back the payload loop-back is activated by setting mr2.plb ( mr2 ). during activated payload loop-back the data stream is looped from the receiver section back to transmitter section. the looped data passes the complete receiver including the wander and jitter compensation in the receive elastic buffer and is output on pin rdo. instead of the data an ais signal (mr2.sais) can be sent to the framer interface. if the plb is enabled the transmitter and the data on pins xl1/2 or xdop/xdon are clocked with fclkr instead of fclkx. all the received data is processed normally. qliu _local_loop equalizer cl ock & data recovery decoder rdop rclk rl1/roid rl2 dco-r dual receive elastic buffer recei ve li ne interface dpll a d j int ernal receive clock rdon c pulse shaper, lbo encoder xdip xl2 dco-x dual transmit elastic buffer tr ansmi t line interface dac xl1 g h e f % tclk fclkx recovered receive clock int ernal transmit clock xl4 xl3 xdin local loop quadliu tm pef 22504 functional description data sheet 114 rev. 1.3, 2006-01-25 figure 45 payload loop 3.11.6 alarm simulation alarm simulation does not affect the normal operation of the device. however, possible real alarm conditions are not reported to the micro controller or to the remote end when the device is in the alarm simulation mode. the alarm simulation and setting of the appropriate status bists is initiated by setting the bit mr0.sim. for details (differences between e1 and t1/j1 mode) see description in mr0 . the following alarms are simulated: loss-of-signal (los) alarm indication signal (ais) code violation counter (hdb3 code) error counting and indication occurs while this bit is set. after it is reset all simulated error conditions disappear, but the generated interrupt statuses are still pending until the corresponding interrupt status register is read. alarms like ais and los are cleared automatically. interrupt status registers and error counters are automatically cleared on read. 3.12 multi function ports several signals are available on the multi function ports, see table 34 and pc1 . after reset, no function is selected (0000 b ). four multi function ports (mfp) for rx - so called as rpa, rpb, rpc, rpc - and four mfps for tx - xpa to xpd - are implemented for every channel. the port levels are reflected in the appropriate bits of the register mfpi, see mfpi d the functions of rpa, rpb, rpc and rpc are configured by pc1.rpc1(3:0) , pc2.rpc2(3:0), pc3.rpc2(3:0) and pc4.rpc3(3:0) respectively. the functions of xpa to xpd are configured by pc1.xpc1(3:0) to pc4.xpc2(3:0) respectively. the actual logical state of the 8 multifunction ports can be read out using the register mfpi. this function together with static output signal options in table 34 offers general purpose i/o functionality on unused multi function port pins. if a port is configured as gpoh or gpol the port level is set fix to high or low-level respectively. rclk rl1/roid rl2 dco-r recei ve li ne interface a d c payl oad loop j int ernal receive clock equalizer cl ock & data recovery decoder rdop dual receive elastic buffer dpll rdon fclkr qliu _payload_loop pulse shaper, lbo encoder xdip xl2 dco-x dual transmit elastic buffer tr ansmi t line interface dac xl1 g h e f % tclk fclkx recovered receive clock int ernal transmit clock xl4 xl3 xdin data sheet 115 rev. 1.3, 2006-01-25 quadliu tm pef 22504 functional description each of the input functions may only be selected once in a channel except for the gpi functionality. no input function must be selected twice or more. table 34 multi function port selection selection rfp signal available on port rfp function xfp signal available on port xfp function 0000 reserved reserved reserved reserved 0001 reserved reserved reserved reserved 0010 reserved reserved reserved reserved 0011 reserved reserved tclk a, b, c, d transmit clock input 0100 reserved reserved reserved reserved 0101 reserved reserved reserved reserved 0110 reserved reserved reserved reserved 0111 reserved reserved xclk a, b, c, d transmit clock output 1000 rlt a, b, c, d receive line termination; logically ord with lim0.rtrs xlt a, b, c, d transmit line tristate control, high active 1001 gpi a, b, c, d general purpose input gpi a, b, c, d general purpose input 1010 gpoh a, b, c, d general purpose output high gpoh a, b, c, d general purpose output high 1011 gpol a, b, c, d general purpose output low gpol a, b, c, d general purpose output low 1100 los a, b, c, d loss of signal indication output reserved a, b, c, d reserved 1101 rtdmt a, b, c, d receive framer interface tristate for pins rdop and rclk; logically ord with dic3.rrtri xdin a, b, c, d transmit data negative input 1110 rdon a, b, c, d receive data negative output or bipolar violation output xlt a, b, c, d transmit line tristate control, low active 1111 rclk a, b, c, d rclk output reserved reserved quadliu tm pef 22504 register description data sheet 116 rev. 1.3, 2006-01-25 4 register description to maintain easy readability this chapter is divided into separate control register and status register sections. the higher address part of all global registers is 00 h , that of the port (channel) specific ones include the channel number 0 to 3 and is marked in the following tables with xx h . so xx h has the values 00 h up to 03 h . note: ?res? in the register schematics means reserved, not reset. if these bits are written then the value must be 0. note: in all bit fields used in the register schematics and also in the table descriptions the most significant bit is the left one and the least significant bit is the right one. sometimes in the text a bit field with the name ?bitfieldname? is denoted as data sheet 117 rev. 1.3, 2006-01-25 quadliu tm pef 22504 register description mr0 mode register 0 xx1c h 124 mr1 mode register 1 xx1d h 126 mr2 mode register 2 xx1e h 127 loop loop-back register xx1f h 128 mr4 mode register 4 xx20 h 129 mr5 framer mode register 5 xx21 h 130 rc0 receive control 0 xx24 h 131 xpm0 transmit pulse mask0 xx26 h 132 xpm1 transmit pulse mask1 xx27 h 133 xpm2 transmit pulse mask2 xx28 h 134 ccb1 clear channel register 1 xx2f h 135 ccb2 clear channel register 2 xx30 h 135 mr3 mode register 3 xx31 h 136 ccb3 clear channel register 3 xx31 h 135 lim0 line interface mode 0 xx36 h 137 lim1 line interface mode 1 xx37 h 139 pcd pulse count detection register xx38 h 140 pcr pulse count recovery xx39 h 141 lim2 line interface mode 2 xx3a h 142 lcr1 loop code register 1 xx3b h 143 lcr2 loop code register 2 xx3c h 145 lcr3 loop code register 3 xx3d h 146 dic1 digital interface control 1 xx3e h 147 dic2 digital interface control 2 xx3f h 148 dic3 digital interface control 3 xx40 h 149 cmr4 clock mode register 4 xx41 h 151 cmr5 clock mode register 5 xx42 h 152 cmr6 clock mode register 6 xx43 h 153 cmr1 clock mode register 1 xx44 h 155 cmr2 clock mode register 2 xx45 h 156 cmr3 clock mode register 3 xx48 h 159 pc1 port configuration 1 xx80 h 160 pc2 port configuration register 2 xx81 h 162 pc3 port configuration register 3 xx82 h 162 pc4 port configuration register 4 xx83 h 162 pc5 port configuration 5 xx84 h 163 pc6 port configuration 6 xx86 h 165 tpc0 test pattern control register 0 xxa8 h 178 bfr bugfix register xxbd h 181 txp1 tx pulse template register 1 xxc1 h 182 txp2 tx pulse template register 2 xxc2 h 182 table 35 registers overview (cont?d) register short name register long name offset address page number quadliu tm pef 22504 register description data sheet 118 rev. 1.3, 2006-01-25 the register is addressed wordwise. txp3 tx pulse template register 3 xxc3 h 182 txp4 tx pulse template register 4 xxc4 h 182 txp5 tx pulse template register 5 xxc5 h 182 txp6 tx pulse template register 6 xxc6 h 182 txp7 tx pulse template register 7 xxc7 h 182 txp8 tx pulse template register 8 xxc8 h 182 txp9 tx pulse template register 9 xxc9 h 182 txp10 tx pulse template register 10 xxca h 182 txp11 tx pulse template register 11 xxcb h 182 txp12 tx pulse template register 12 xxcc h 182 txp13 tx pulse template register 13 xxcd h 182 txp14 tx pulse template register 14 xxce h 182 txp15 tx pulse template register 15 xxcf h 182 txp16 tx pulse template register 16 xxd0 h 182 als automatic loop switching register xxd9 h 188 imr7 interrupt mask register 7 xxdf h 122 lim3 liu mode register 3 xxe2 h 189 wcon wander configuration register xxe8 h 190 table 35 registers overview (cont?d) register short name register long name offset address page number data sheet 119 rev. 1.3, 2006-01-25 quadliu tm pef 22504 register description table 36 registers access types mode symbol description hardware (hw) description software (sw) basic access types read/write rw register is used as input for the hw register is read and writable by sw read/write virtual rwv physically, there is no new register in the generated register file. the real readable and writable register resides in the attached hardware. register is read and writable by sw (same as rw type register) read r register is written by hw (register between input and output -> one cycle delay) value written by sw is ignored by hw; that is, sw may write any value to this field without affecting hw behavior read only ro same as r type register same as r type register read virtual rv physically, there is no new register in the generated register file. the real readable register resides in the attached hardware. value written by sw is ignored by hw; that is, sw may write any value to this field without affecting hw behavior (same as r type register) write w register is written by software and affects hardware behavior with every write by software. register is writable by sw. when read, the register does not return the value that has been written previously, but some constant value instead. write virtual wv physically, there is no new register in the generated register file. the real writable register resides in the attached hardware. register is writable by sw (same as w type register) read/write hardware affected rwh register can be modified by hardware and software at the same time. a priority scheme decides, how the value changes with simultaneous writes by hardware and software. register can be modified by hw and sw, but the priority sw versus hw has to be specified. sw can read the register. special access types latch high, self clearing lhsc latch high signal at high level, clear on read sw can read the register latch low, self clearing llsc latch high signal at low-level, clear on read sw can read the register latch high, mask clearing lhmk latch high signal at high level, register cleared with written mask sw can read the register, with write mask the register can be cleared (1 clears) latch low, mask clearing llmk latch high signal at low-level, register cleared on read sw can read the register, with write mask the register can be cleared (1 clears) interrupt high, self clearing ihsc differentiate the input signal (low- >high) register cleared on read sw can read the register interrupt low, self clearing ilsc differentiate the input signal (high- >low) register cleared on read sw can read the register interrupt high, mask clearing ihmk differentiate the input signal (high- >low) register cleared with written mask sw can read the register, with write mask the register can be cleared interrupt low, mask clearing ilmk differentiate the input signal (low- >high) register cleared with written mask sw can read the register, with write mask the register can be cleared quadliu tm pef 22504 register descriptioncommand register data sheet 120 rev. 1.3, 2006-01-25 4.1.1 control registers command register interrupt enable register ien enables the interrupt source for interrupt generation sw can read and write this register latch_on_reset lor rw register, value is latched after first clock cycle after reset register is read and writable by sw read/write self clearing rwsc register is used as input for the hw, the register will be cleared due to a hw mechanism. writing to the register generates a strobe signal for the hw (1 pdi clock cycle) register is read and writable by sw. cmdr offset reset value command register xx02 h 00 h field bits type description rres 6 w receiver reset the receive line interface except the clock and data recovery unit (dpll) is reset. however the contents of the control registers is not deleted. a receiver reset should be made after switching from power down to power up (gcr.pd = 1 -> 0). xres 4 w transmitter reset the transmit framer and transmit line interface excluding the system clock generator and the pulse shaper are reset. however the contents of the control registers is not deleted. table 36 registers access types (cont?d) mode symbol description hardware (hw) description software (sw) 5 h v z 5 5 ( 6 5 h v z ; 5 ( 6 5 h v data sheet 121 rev. 1.3, 2006-01-25 quadliu tm pef 22504 register descriptioninterrupt port configuration interrupt port configuration see chapter 3.5.3 and table 10 . note: unused bits have to be cleared. ipc offset reset value interrupt port configuration 0008 h 00 h field bits type description vispll 7 rw masked pll interrupts visible see also chapter 3.5.3 0 b masked interrupt status bits plllc and pllic are not visible in register gis2. 1 b masked interrupt status bits plllc and pllic are visible in gis2, but they are not visible in registers gis. ssyf 2 rw select sync frequency only applicable in master mode (lim0.mas = 1) and bit cmr2.dcf is cleared, see also table 9. 0 b reference clock on port sync is 2.048 mhz 1 b reference clock on port sync is 8 khz ic 1:0 rw interrupt port configuration these bits define the function of the interrupt output pin int. x0 b open drain output 01 b push/pull output, active low 11 b push/pull output, active high u z 9 , 6 3 / / 5 h v u z 6 6 < |